# Generated by Django 4.0 on 2022-04-17 08:21 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=exercices.models.generate_unique_code_step, max_length=50, unique=True)), ('exo_model', models.TextField(max_length=50000)), ('consigne', models.CharField(blank=True, default='', max_length=100)), ('tags', models.JSONField(default=list)), ('exemple', models.JSONField(default=list)), ], ), 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=exercices.models.generate_unique_code_tag, max_length=50, unique=True)), ('name', models.CharField(default='', max_length=25)), ], ), ]