mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
a8a1f74a92
commit
e4cbe264cf
1 changed files with 24 additions and 0 deletions
24
migrations/versions/f47cad5d6d03_initial_revision.py
Normal file
24
migrations/versions/f47cad5d6d03_initial_revision.py
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue