rework migration, remove unique from event.uuid for now
This commit is contained in:
parent
7b435ace42
commit
8b239e1812
|
@ -1,6 +1,4 @@
|
||||||
# Generated by Django 3.0.3 on 2020-06-21 23:56
|
# Generated by Django 3.0.3 on 2020-06-22 00:06
|
||||||
|
|
||||||
import uuid
|
|
||||||
|
|
||||||
import django.contrib.postgres.constraints
|
import django.contrib.postgres.constraints
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
@ -22,16 +20,6 @@ class Migration(migrations.Migration):
|
||||||
help_text="The duration of this event in minutes. Leave blank to use the default from the event_type.",
|
help_text="The duration of this event in minutes. Leave blank to use the default from the event_type.",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
migrations.AlterField(
|
|
||||||
model_name="event",
|
|
||||||
name="uuid",
|
|
||||||
field=models.UUIDField(
|
|
||||||
default=uuid.uuid4,
|
|
||||||
editable=False,
|
|
||||||
help_text="This field is not the PK of the model. It is used to create EventSlot UUID for FRAB and iCal and other calendaring purposes.",
|
|
||||||
unique=True,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name="eventproposal",
|
model_name="eventproposal",
|
||||||
name="duration",
|
name="duration",
|
|
@ -1202,7 +1202,7 @@ class Event(CampRelatedModel):
|
||||||
|
|
||||||
uuid = models.UUIDField(
|
uuid = models.UUIDField(
|
||||||
default=uuid.uuid4,
|
default=uuid.uuid4,
|
||||||
unique=True,
|
# unique=True,
|
||||||
editable=False,
|
editable=False,
|
||||||
help_text="This field is not the PK of the model. It is used to create EventSlot UUID for FRAB and iCal and other calendaring purposes.",
|
help_text="This field is not the PK of the model. It is used to create EventSlot UUID for FRAB and iCal and other calendaring purposes.",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue