text: # Generated by Django 3.2.3 on 2021-05-28 19:38
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('bookshop', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Author',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=100)),
                  ('email', models.EmailField(max_length=200)),
              ],
          ),
          migrations.AlterModelOptions(
              name='book',
              options={'ordering': ['date']},
          ),
          migrations.RemoveField(
              model_name='book',
              name='email',
          ),
          migrations.AddField(
              model_name='book',
              name='pages',
              field=models.IntegerField(default=10),
              preserve_default=False,
          ),
          migrations.AlterField(
              model_name='book',
              name='author',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='books', to='bookshop.author'),
          ),
      ]
  