# Generated by Django 4.2.11 on 2024-04-27 09:44

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


class Migration(migrations.Migration):

    dependencies = [
        ('gestion', '0002_livresupplement'),
    ]

    operations = [
        migrations.AddField(
            model_name='livresupplement',
            name='commentaire',
            field=models.TextField(blank=True, null=True, verbose_name='Motivation'),
        ),
        migrations.CreateModel(
            name='Livre_a_lire',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date', models.DateTimeField(auto_now_add=True)),
                ('eleve', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gestion.eleves', verbose_name='À prêter à')),
                ('livre', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gestion.materiel', verbose_name='Livre')),
            ],
        ),
    ]
