# Generated by Django 5.2.17 on 2026-08-27 14:39

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


class Migration(migrations.Migration):

    dependencies = [
        ('gestion', '0022_accueil'),
    ]

    operations = [
        migrations.CreateModel(
            name='Prescription_de_livre',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('prescripteur', models.CharField(blank=True, max_length=50, null=True, verbose_name='Prescripteur')),
                ('commentaire', models.TextField(blank=True, null=True, verbose_name='Motivation')),
            ],
        ),
        migrations.AddField(
            model_name='livre_a_lire',
            name='prescription',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='gestion.prescription_de_livre', verbose_name='Prescription'),
        ),
    ]
