text: # Generated by Django 3.1.7 on 2021-10-18 20:01
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('hotels', '0002_auto_20211014_2211'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Reservation',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('nombre_des_jours', models.IntegerField(null=True)),
                  ('date_de_debut', models.DateField(auto_now_add=True)),
                  ('date_de_fin', models.DateField()),
                  ('hotel', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='hotels.hotel')),
                  ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
              ],
          ),
      ]
  