# Generated by Django 4.2.23 on 2025-08-01 15:40

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('gestion', '0013_digraphe_select'),
    ]

    operations = [
        migrations.CreateModel(
            name='Digraphe',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date_creation', models.DateTimeField(auto_now_add=True, verbose_name='créé le')),
                ('dot_code', models.TextField(default='', verbose_name='graphe en langage DOT')),
            ],
        ),
        migrations.DeleteModel(
            name='Graphe',
        ),
        migrations.AlterField(
            model_name='digraphe_select',
            name='name',
            field=models.CharField(max_length=25, unique=True, verbose_name='Nom'),
        ),
        migrations.AddField(
            model_name='digraphe',
            name='select',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gestion.digraphe_select', verbose_name="Sélection d'option"),
        ),
    ]
