Remove unique constraint from initial field (#50)

Reviewed-on: data.coop/membersystem#50
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
This commit is contained in:
Benjamin Bach 2024-08-14 09:37:13 +00:00 committed by valberg
parent b3795977ed
commit 8f3e8f06f0

View file

@ -21,7 +21,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='membership', model_name='membership',
name='referral_code', 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.RunPython(create_uuid),
migrations.AlterField( migrations.AlterField(