diff options
-rw-r--r-- | migrations/versions/48f561c0ce6_add_column_entry_id.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/migrations/versions/48f561c0ce6_add_column_entry_id.py b/migrations/versions/48f561c0ce6_add_column_entry_id.py index 35117965..ad05313f 100644 --- a/migrations/versions/48f561c0ce6_add_column_entry_id.py +++ b/migrations/versions/48f561c0ce6_add_column_entry_id.py @@ -15,13 +15,6 @@ depends_on = None import sqlalchemy as sa from alembic import op -import conf - def upgrade(): op.add_column("article", sa.Column("entry_id", sa.String(), nullable=True)) - - -def downgrade(): - if "sqlite" not in conf.SQLALCHEMY_DATABASE_URI: - op.drop_column("article", "entry_id") |