added comment in migration to explain why it was being done w/ burnettk

This commit is contained in:
jasquat 2024-01-04 14:38:57 -05:00
parent ad3e63367f
commit 7489d17f4f
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -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)