fix downgrade script issue referenced in #156
This commit is contained in:
parent
bdbb22f164
commit
8f9e9d4766
@ -35,9 +35,9 @@ def upgrade():
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_constraint(None, 'aime_card', type_='unique')
|
||||
op.drop_constraint(None, 'aime_card', type_='unique')
|
||||
op.drop_constraint(None, 'aime_card', type_='unique')
|
||||
op.drop_constraint("chip_id", 'aime_card', type_='unique')
|
||||
op.drop_constraint("idm", 'aime_card', type_='unique')
|
||||
op.drop_constraint("access_code", 'aime_card', type_='unique')
|
||||
op.alter_column('aime_card', 'created_date',
|
||||
existing_type=mysql.TIMESTAMP(),
|
||||
server_default=sa.text('CURRENT_TIMESTAMP'),
|
||||
|
Loading…
Reference in New Issue
Block a user