Remove unique constraint from initial field #50

Merged
valberg merged 1 commit from benjaoming/membersystem:fix-migration-unique into main 2024-08-14 09:37:16 +00:00
Showing only changes of commit fba5700838 - Show all commits

View file

@ -21,7 +21,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='membership',
name='referral_code',
field=models.UUIDField(blank=True, null=True, unique=True, default=uuid.uuid4, editable=False),
field=models.UUIDField(blank=True, null=True, default=uuid.uuid4, editable=False),
),
migrations.RunPython(create_uuid),
migrations.AlterField(