added comment in migration to explain why it was being done w/ burnettk
This commit is contained in:
parent
ad3e63367f
commit
7489d17f4f
|
@ -22,6 +22,7 @@ def upgrade():
|
|||
batch_op.drop_column('identifier')
|
||||
batch_op.drop_column('list_index')
|
||||
|
||||
# originally changed in 3191627ae224 but not as a unique key. this will make it unique
|
||||
with op.batch_alter_table('task', schema=None) as batch_op:
|
||||
batch_op.drop_index('ix_task_guid')
|
||||
batch_op.create_index(batch_op.f('ix_task_guid'), ['guid'], unique=True)
|
||||
|
|
Loading…
Reference in New Issue