Remove check constraint from user table as it's data type is Boolean.

pull/5461/head
Akshay Joshi 2022-10-20 18:25:21 +05:30
parent 964c7b1d28
commit 0384f55de1
1 changed files with 0 additions and 5 deletions

View File

@ -25,11 +25,6 @@ depends_on = None
def upgrade():
op.add_column('user', sa.Column('masterpass_check', sa.String(length=256)))
with op.batch_alter_table("user") as batch_op:
batch_op.create_check_constraint(
"ck_active_range",
"active IN (0, 1)"
)
def downgrade():