[1/2] Create an initial Alembic migration

Message ID 20200223185212.GA1030456@tsubame.mg0.fr
State New
Headers show
Series
  • [1/2] Create an initial Alembic migration
Related show

Commit Message

Frédéric Mangano-Tarumi Feb. 23, 2020, 6:52 p.m. UTC
This way the database will get stamped, and Git will create the
`versions` directory without which Alembic won’t work.
---
 .../versions/f47cad5d6d03_initial_revision.py | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 migrations/versions/f47cad5d6d03_initial_revision.py

Patch

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