Remove unique constraint from initial field
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
b3795977ed
commit
fba5700838
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue