chore: Improve Alembic Migration Generation (#4192)

This commit is contained in:
Michael Genson
2024-09-16 08:52:12 -05:00
committed by GitHub
parent 77208384ed
commit 8778559a20
35 changed files with 105 additions and 148 deletions

View File

@@ -14,9 +14,9 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "6b0f5f32d602"
down_revision = None
branch_labels = None
depends_on = None
down_revision: str | None = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
# Adapted from https://improveandrepeat.com/2021/09/python-friday-87-handling-pre-existing-tables-with-alembic-and-sqlalchemy/