1 from django.db import migrations, models
2 import django.db.models.deletion
3 from django.conf import settings
6 class Migration(migrations.Migration):
9 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
10 ('catalogue', '0024_auto_20180510_1407'),
11 ('api', '0002_auto_20151221_1225'),
15 migrations.CreateModel(
18 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
19 ('complete', models.BooleanField(default=False)),
20 ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.Book')),
21 ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),