diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-11-12 18:34:01 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-11-12 18:34:01 +0100 |
commit | 67282cd30605172730bb7ba16f977c30e70c1a62 (patch) | |
tree | 5bd2cca25d9be582073809f98d0588be0b6bb83a | |
parent | 16216e721e0ecd981f9f30443b89d01033cdf63e (diff) | |
download | fietsboek-67282cd30605172730bb7ba16f977c30e70c1a62.tar.gz fietsboek-67282cd30605172730bb7ba16f977c30e70c1a62.tar.bz2 fietsboek-67282cd30605172730bb7ba16f977c30e70c1a62.zip |
add initial update script
This doesn't really do anything yet, but it serves as a starting point
and sets the alembic version.
-rw-r--r-- | fietsboek/updater/scripts/upd_initial.py | 26 |
1 files changed, 26 insertions, 0 deletions
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 |