1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from django.db import migrations, models
5 import django.db.models.deletion
6 from django.conf import settings
9 class Migration(migrations.Migration):
12 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
13 ('catalogue', '0024_auto_20180510_1407'),
14 ('api', '0002_auto_20151221_1225'),
18 migrations.CreateModel(
21 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
22 ('complete', models.BooleanField(default=False)),
23 ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.Book')),
24 ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),