Skip to content

Commit

Permalink
Fail on downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
di committed Apr 3, 2020
1 parent bb13e97 commit 374071e
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,4 @@ def upgrade():


def downgrade():
op.add_column(
"projects",
sa.Column(
"allow_legacy_files",
sa.BOOLEAN(),
server_default=sa.text("false"),
autoincrement=False,
nullable=False,
),
)
raise RuntimeError("Order No. 227 - Ни шагу назад!")

0 comments on commit 374071e

Please sign in to comment.