summaryrefslogtreecommitdiffstats
path: root/migrations
diff options
context:
space:
mode:
authorFrédéric Mangano-Tarumi <fmang@mg0.fr>2020-02-23 19:52:12 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2020-02-27 16:44:36 +0100
commite4cbe264cf6949f82338b7de705cba90c15f4d24 (patch)
treef67a10df2b19588140fe5a39d5bf6fd766d3a016 /migrations
parenta8a1f74a9207339bf707bb09e8dba7b2c67abb5b (diff)
downloadaur-e4cbe264cf6949f82338b7de705cba90c15f4d24.tar.gz
aur-e4cbe264cf6949f82338b7de705cba90c15f4d24.tar.xz
Create an initial Alembic migration
This way the database will get stamped, and Git will create the `versions` directory without which Alembic won’t work. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'migrations')
-rw-r--r--migrations/versions/f47cad5d6d03_initial_revision.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/migrations/versions/f47cad5d6d03_initial_revision.py b/migrations/versions/f47cad5d6d03_initial_revision.py
new file mode 100644
index 00000000..9e99490f
--- /dev/null
+++ b/migrations/versions/f47cad5d6d03_initial_revision.py
@@ -0,0 +1,24 @@
+"""initial revision
+
+Revision ID: f47cad5d6d03
+Revises:
+Create Date: 2020-02-23 13:23:32.331396
+
+"""
+from alembic import op
+import sqlalchemy as sa
+
+
+# revision identifiers, used by Alembic.
+revision = 'f47cad5d6d03'
+down_revision = None
+branch_labels = None
+depends_on = None
+
+
+def upgrade():
+ pass
+
+
+def downgrade():
+ pass