# Generated by Django 2.2.2 on 2019-06-12 13:32

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Author',
            fields=[
                ('AUTHOR_ID', models.AutoField(primary_key=True, serialize=False)),
                ('NAME', models.TextField()),
            ],
        ),
        migrations.CreateModel(
            name='Book',
            fields=[
                ('BOOK_ID', models.AutoField(primary_key=True, serialize=False)),
                ('NAME', models.TextField()),
                ('AUTHOR', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='books', to='library.Author')),
            ],
        ),
    ]
