From 67282cd30605172730bb7ba16f977c30e70c1a62 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 12 Nov 2022 18:34:01 +0100 Subject: add initial update script This doesn't really do anything yet, but it serves as a starting point and sets the alembic version. --- fietsboek/updater/scripts/upd_initial.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 fietsboek/updater/scripts/upd_initial.py diff --git a/fietsboek/updater/scripts/upd_initial.py b/fietsboek/updater/scripts/upd_initial.py new file mode 100644 index 0000000..cc5e5d7 --- /dev/null +++ b/fietsboek/updater/scripts/upd_initial.py @@ -0,0 +1,26 @@ +"""Revision upgrade script initial. + +Date created: 2022-11-12 18:20:07.214366 +""" +from fietsboek.updater.script import UpdateScript + +update_id = 'initial' +previous = [ +] +alembic_revision = 'd085998b49ca' + + +class Up(UpdateScript): + def pre_alembic(self, config): + pass + + def post_alembic(self, config): + pass + + +class Down(UpdateScript): + def pre_alembic(self, config): + pass + + def post_alembic(self, config): + pass -- cgit v1.2.3