Skip to content

Commit

Permalink
Remove check constraint from user table as it's data type is Boolean.
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-joshi committed Oct 20, 2022
1 parent 964c7b1 commit 0384f55
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions web/migrations/versions/35f29b1701bd_.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@

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():
Expand Down

0 comments on commit 0384f55

Please sign in to comment.