text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.5 on 2017-10-20 10:12
  from __future__ import unicode_literals
  
  import django.db.models.deletion
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Author',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('first_name', models.CharField(max_length=30)),
                  ('last_name', models.CharField(max_length=40)),
                  ('email', models.EmailField(max_length=254)),
              ],
          ),
          migrations.CreateModel(
              name='Book',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=100)),
                  ('publication_date', models.DateField()),
                  ('authors', models.ManyToManyField(to='books.Author')),
              ],
          ),
          migrations.CreateModel(
              name='Publisher',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=30)),
                  ('address', models.CharField(max_length=50)),
                  ('city', models.CharField(max_length=60)),
                  ('state_province', models.CharField(max_length=30)),
                  ('country', models.CharField(max_length=50)),
                  ('website', models.URLField()),
              ],
          ),
          migrations.AddField(
              model_name='book',
              name='publisher',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='books.Publisher'),
          ),
      ]
  