Skip to content

Commit

Permalink
fix: prevent lock when adding FFAdmin.uuid column (#4832)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Nov 13, 2024
1 parent 0d1c64a commit 4a310b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/users/migrations/0037_add_uuid_field_to_user_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='ffadminuser',
name='uuid',
field=models.UUIDField(default=uuid.uuid4),
field=models.UUIDField(default=None, null=True),
),
migrations.RunPython(set_default_uuids, reverse_code=migrations.RunPython.noop),
migrations.AlterField(
Expand Down

0 comments on commit 4a310b0

Please sign in to comment.