# Generated by Django 4.0 on 2022-07-29 09:08 from django.db import migrations, models import exercices.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Exercice', 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='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)), ('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( name='Tag', 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='generate_unique_code_tag', max_length=50, unique=True)), ('name', models.CharField(default='', max_length=25)), ], ), ]