fix db
This commit is contained in:
parent
08d9bf1137
commit
3a340614ed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
# Generated by Django 4.0 on 2022-04-17 08:21
|
||||
# Generated by Django 4.0 on 2022-07-29 09:08
|
||||
|
||||
from django.db import migrations, models
|
||||
import exercices.models
|
||||
@ -17,11 +17,16 @@ class Migration(migrations.Migration):
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=50)),
|
||||
('id_code', models.CharField(default=exercices.models.generate_unique_code_step, max_length=50, unique=True)),
|
||||
('exo_model', models.TextField(max_length=50000)),
|
||||
('id_code', models.CharField(default='generate_unique_code_step', max_length=50, unique=True)),
|
||||
('exo_model', models.FileField(upload_to=exercices.models.exo_code)),
|
||||
('consigne', models.CharField(blank=True, default='', max_length=100)),
|
||||
('tags', models.JSONField(default=list)),
|
||||
('exemple', models.JSONField(default=list)),
|
||||
('exemple', models.JSONField(default=dict)),
|
||||
('isPdf', models.BooleanField(default=True)),
|
||||
('isCsv', models.BooleanField(default=True)),
|
||||
('isWeb', models.BooleanField(default=True)),
|
||||
('last_update', models.DateTimeField(auto_now_add=True)),
|
||||
('original', models.BooleanField(default=True)),
|
||||
('private', models.BooleanField(default=False)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
@ -29,7 +34,7 @@ class Migration(migrations.Migration):
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('color', models.CharField(default='', max_length=50)),
|
||||
('id_code', models.CharField(default=exercices.models.generate_unique_code_tag, max_length=50, unique=True)),
|
||||
('id_code', models.CharField(default='generate_unique_code_tag', max_length=50, unique=True)),
|
||||
('name', models.CharField(default='', max_length=25)),
|
||||
],
|
||||
),
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-04-17 19:51
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='isCsv',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='isPdf',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='isWeb',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-04-17 19:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0002_exercice_iscsv_exercice_ispdf_exercice_isweb'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='exercice',
|
||||
name='exo_model',
|
||||
field=models.FileField(upload_to='uploads/exercices/'),
|
||||
),
|
||||
]
|
@ -1,24 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-15 06:48
|
||||
|
||||
from django.db import migrations, models
|
||||
import exercices.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0003_alter_exercice_exo_model'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='exercice',
|
||||
name='exemple',
|
||||
field=models.JSONField(default=dict),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='exercice',
|
||||
name='exo_model',
|
||||
field=models.FileField(upload_to=exercices.models.exo_code),
|
||||
),
|
||||
]
|
@ -1,25 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-20 13:52
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0001_initial'),
|
||||
('exercices', '0004_alter_exercice_exemple_alter_exercice_exo_model'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='author',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='users.customuser'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='private',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-21 08:06
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0005_exercice_author_exercice_private'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='exercice',
|
||||
name='private',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-30 15:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0006_alter_exercice_private'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='origin',
|
||||
field=models.CharField(default='', max_length=20, null=True),
|
||||
),
|
||||
]
|
@ -1,17 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-30 16:15
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0007_exercice_origin'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='exercice',
|
||||
name='origin',
|
||||
),
|
||||
]
|
@ -1,19 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-30 16:15
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0008_remove_exercice_origin'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='origin',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='exercices.exercice'),
|
||||
),
|
||||
]
|
@ -1,19 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-30 16:25
|
||||
|
||||
from django.db import migrations, models
|
||||
import exercices.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0009_exercice_origin'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='exercice',
|
||||
name='id_code',
|
||||
field=models.CharField(default=exercices.models.generate_unique_code_step, max_length=50, null=True, unique=True),
|
||||
),
|
||||
]
|
@ -1,19 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-30 16:30
|
||||
|
||||
from django.db import migrations, models
|
||||
import exercices.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0010_alter_exercice_id_code'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='exercice',
|
||||
name='id_code',
|
||||
field=models.CharField(default=exercices.models.generate_unique_code_step, max_length=50, unique=True),
|
||||
),
|
||||
]
|
@ -1,19 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-30 16:53
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0011_alter_exercice_id_code'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='exercice',
|
||||
name='origin',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='exercices.exercice'),
|
||||
),
|
||||
]
|
@ -1,20 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-06-04 06:54
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0010_alter_customuser_id_code'),
|
||||
('exercices', '0012_alter_exercice_origin'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='tag',
|
||||
name='user',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='users.customuser'),
|
||||
),
|
||||
]
|
@ -1,22 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-06-04 07:05
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0013_tag_user'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='exercice',
|
||||
name='tags',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='tags',
|
||||
field=models.ManyToManyField(to='exercices.Tag'),
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-06-06 19:47
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0014_remove_exercice_tags_exercice_tags'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='original',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
]
|
@ -1,20 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-06-24 08:44
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.utils.timezone
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0015_exercice_original'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='exercice',
|
||||
name='last_update',
|
||||
field=models.DateField(auto_now_add=True, default=django.utils.timezone.now),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-06-24 08:58
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0016_exercice_last_update'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='exercice',
|
||||
name='last_update',
|
||||
field=models.DateTimeField(auto_now_add=True),
|
||||
),
|
||||
]
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -34,7 +34,7 @@ def generate_unique_code_tag():
|
||||
class Tag(models.Model):
|
||||
color = CharField(max_length=50, default='')
|
||||
id_code = CharField(max_length=50, unique=True,
|
||||
default=generate_unique_code_tag)
|
||||
default=generate_unique_code_tag) # Pour la migration initiale : si pas en "" renvoie erreur car table utilisée dans fonction avant d'être crée
|
||||
user = models.ForeignKey('users.CustomUser', null=True, on_delete=models.CASCADE)
|
||||
name = CharField(max_length=25, default='')
|
||||
|
||||
@ -54,7 +54,7 @@ class ExerciceManager(models.Manager):
|
||||
class Exercice(models.Model):
|
||||
name = CharField(max_length=50)
|
||||
id_code = CharField(
|
||||
unique=True, max_length=50, default=generate_unique_code_step)
|
||||
unique=True, max_length=50, default=generate_unique_code_step) # Pour la migration initiale : si pas en "" renvoie erreur car table utilisée dans fonction avant d'être crée
|
||||
exo_model = models.FileField(upload_to=exo_code)
|
||||
consigne = CharField(max_length=100, default='', blank=True)
|
||||
tags = models.ManyToManyField(Tag)
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +1,6 @@
|
||||
# Generated by Django 4.0 on 2022-04-17 08:29
|
||||
# Generated by Django 4.0 on 2022-07-29 09:08
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
import room.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
@ -13,32 +11,40 @@ class Migration(migrations.Migration):
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Room',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=50)),
|
||||
('id_code', models.CharField(default=room.models.generate_unique_code_room, max_length=50)),
|
||||
('participants', models.JSONField(default=list)),
|
||||
('waiters', models.JSONField(default=list)),
|
||||
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||
('owner', models.JSONField(default=dict)),
|
||||
('public_result', models.BooleanField(default=False)),
|
||||
('private', models.BooleanField(default=True)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Parcours',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=50)),
|
||||
('id_code', models.CharField(default=room.models.generate_unique_code_parcours, max_length=50)),
|
||||
('name', models.CharField(max_length=30)),
|
||||
('id_code', models.CharField(default='generate_unique_code_parcours', max_length=50)),
|
||||
('challenger', models.JSONField(default=list)),
|
||||
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||
('timer', models.IntegerField(blank=True)),
|
||||
('exercices', models.JSONField(default=list)),
|
||||
('success_condition', models.IntegerField(default=10)),
|
||||
('room', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='room.room')),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Room',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=30)),
|
||||
('id_code', models.CharField(default='generate_unique_code_room', max_length=50)),
|
||||
('anonymousMembers', models.JSONField(default=list, null=True)),
|
||||
('waiters', models.JSONField(default=list)),
|
||||
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||
('owner', models.JSONField(default=dict)),
|
||||
('public_result', models.BooleanField(default=False)),
|
||||
('online', models.JSONField(default=list)),
|
||||
('private', models.BooleanField(default=True)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='TempCorrection',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('correction', models.JSONField(default=list)),
|
||||
('id_code', models.CharField(default='generate_unique_code_corr', max_length=50)),
|
||||
],
|
||||
),
|
||||
]
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-15 06:48
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('room', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='TempCorrection',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('correction', models.JSONField(default=list)),
|
||||
],
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-15 06:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('room', '0002_tempcorrection'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='tempcorrection',
|
||||
name='id_code',
|
||||
field=models.CharField(default='', max_length=50),
|
||||
),
|
||||
]
|
@ -1,19 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-15 06:54
|
||||
|
||||
from django.db import migrations, models
|
||||
import room.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('room', '0003_tempcorrection_id_code'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='tempcorrection',
|
||||
name='id_code',
|
||||
field=models.CharField(default=room.models.generate_unique_code_corr, max_length=50),
|
||||
),
|
||||
]
|
@ -1,25 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-21 15:35
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('room', '0004_alter_tempcorrection_id_code'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='room',
|
||||
old_name='participants',
|
||||
new_name='anonymousMembers',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='room',
|
||||
name='userMembers',
|
||||
field=models.ManyToManyField(to=settings.AUTH_USER_MODEL),
|
||||
),
|
||||
]
|
@ -1,20 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-21 15:44
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('room', '0005_rename_participants_room_anonymousmembers_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='room',
|
||||
name='userMembers',
|
||||
field=models.ManyToManyField(null=True, to=settings.AUTH_USER_MODEL),
|
||||
),
|
||||
]
|
@ -1,20 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-21 15:44
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('room', '0006_alter_room_usermembers'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='room',
|
||||
name='userMembers',
|
||||
field=models.ManyToManyField(to=settings.AUTH_USER_MODEL),
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-21 15:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('room', '0007_alter_room_usermembers'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='room',
|
||||
name='anonymousMembers',
|
||||
field=models.JSONField(default=list, null=True),
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-05-21 17:03
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('room', '0008_alter_room_anonymousmembers'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='room',
|
||||
name='online',
|
||||
field=models.JSONField(default=list),
|
||||
),
|
||||
]
|
@ -1,23 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-06-14 20:53
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('exercices', '0015_exercice_original'),
|
||||
('room', '0009_room_online'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='parcours',
|
||||
name='exercices',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='parcours',
|
||||
name='exercices',
|
||||
field=models.ManyToManyField(to='exercices.Exercice'),
|
||||
),
|
||||
]
|
@ -1,22 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-06-14 20:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('room', '0010_remove_parcours_exercices_parcours_exercices'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='parcours',
|
||||
name='exercices',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='parcours',
|
||||
name='exercices',
|
||||
field=models.JSONField(default=list),
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-06-19 14:40
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('room', '0011_remove_parcours_exercices_parcours_exercices'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='room',
|
||||
name='name',
|
||||
field=models.CharField(max_length=30),
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.0 on 2022-06-20 09:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('room', '0012_alter_room_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='parcours',
|
||||
name='name',
|
||||
field=models.CharField(max_length=30),
|
||||
),
|
||||
]
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user