From 7489d17f4fff707d26cb3f5db0b6b7d5c280b988 Mon Sep 17 00:00:00 2001 From: jasquat Date: Thu, 4 Jan 2024 14:38:57 -0500 Subject: [PATCH] added comment in migration to explain why it was being done w/ burnettk --- spiffworkflow-backend/migrations/versions/bc2b84d013e0_.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spiffworkflow-backend/migrations/versions/bc2b84d013e0_.py b/spiffworkflow-backend/migrations/versions/bc2b84d013e0_.py index 12e6e4104..80e78c283 100644 --- a/spiffworkflow-backend/migrations/versions/bc2b84d013e0_.py +++ b/spiffworkflow-backend/migrations/versions/bc2b84d013e0_.py @@ -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)