feat: add initial Alembic configuration files for database migrations

This commit is contained in:
2025-11-09 16:57:32 +01:00
parent 32a96a27c5
commit dc3ebfbba5
3 changed files with 115 additions and 0 deletions

17
alembic/script.py.mako Normal file
View File

@@ -0,0 +1,17 @@
"""${message}"""
revision = ${repr(revision)}
down_revision = ${repr(down_revision)}
branch_labels = ${repr(branch_labels)}
depends_on = ${repr(depends_on)}
from alembic import op
import sqlalchemy as sa
def upgrade() -> None:
${upgrades if upgrades else "pass"}
def downgrade() -> None:
${downgrades if downgrades else "pass"}