# Generated by Django 3.2.23 on 2023-12-29 09:16

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


class Migration(migrations.Migration):

    dependencies = [
        ('gest_clin', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Clinique',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('CLIN_Nom', models.CharField(max_length=64, unique=True, verbose_name='Nom de Clinique')),
                ('CLIN_Anag', models.CharField(max_length=3, unique=True, verbose_name='Anagrame de Clinique')),
            ],
            options={
                'verbose_name': 'Clinique',
                'verbose_name_plural': 'Cliniques',
            },
        ),
        migrations.AddField(
            model_name='batiments',
            name='BAT_Clin',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.PROTECT, to='gest_clin.clinique'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='services',
            name='SERVICE_Clin',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.PROTECT, to='gest_clin.clinique'),
            preserve_default=False,
        ),
    ]
