Change TeamMember id field to random ids
parent
8ae99da8a1
commit
d186f048fb
@ -0,0 +1,23 @@
|
|||||||
|
# Generated by Django 4.0.4 on 2023-05-13 17:28
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import shiftregister.fallback.models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
("fallback", "0004_remove_fallbackassignment_slot"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="teammember",
|
||||||
|
name="id",
|
||||||
|
field=models.IntegerField(
|
||||||
|
default=shiftregister.fallback.models.generate_id,
|
||||||
|
editable=False,
|
||||||
|
primary_key=True,
|
||||||
|
serialize=False,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in New Issue