Generateurv2/backend/api/room/migrations/0003_generate_code.py
2022-07-29 11:53:49 +02:00

31 lines
910 B
Python

from django.db import migrations, models
import room.models
class Migration(migrations.Migration):
dependencies = [
('room', '0002_initial'),
]
operations = [
migrations.AlterField(
model_name='room',
name='id_code',
field=models.CharField(
max_length=50, default=room.models.generate_unique_code_room, unique = True),
),
migrations.AlterField(
model_name='parcours',
name='id_code',
field=models.CharField(
max_length=50, default=room.models.generate_unique_code_parcours, unique = True),
),
migrations.AlterField(
model_name='tempcorrection',
name='id_code',
field=models.CharField(
max_length=50, default=room.models.generate_unique_code_corr, unique = True),
),
]