From 8f3e8f06f000aeb6c0b9d092e3a0b6c89ba7daf3 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Wed, 14 Aug 2024 09:37:13 +0000 Subject: [PATCH] Remove unique constraint from initial field (#50) Reviewed-on: https://git.data.coop/data.coop/membersystem/pulls/50 Reviewed-by: valberg Co-authored-by: Benjamin Bach Co-committed-by: Benjamin Bach --- 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(