From fba57008381b2d263804872e1d96d012b99f3dbf Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Wed, 14 Aug 2024 11:35:00 +0200 Subject: [PATCH] Remove unique constraint from initial field --- src/membership/migrations/0009_membership_referral_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/membership/migrations/0009_membership_referral_code.py b/src/membership/migrations/0009_membership_referral_code.py index 4fcf65a..1c1cf64 100644 --- a/src/membership/migrations/0009_membership_referral_code.py +++ b/src/membership/migrations/0009_membership_referral_code.py @@ -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(