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 models, migrations
5 import django.db.models.deletion
8 class Migration(migrations.Migration):
11 ('catalogue', '0001_initial'),
15 migrations.CreateModel(
18 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
19 ('anchor', models.CharField(max_length=64)),
20 ('html', models.TextField()),
21 ('sort_key', models.CharField(max_length=128, db_index=True)),
22 ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.Book')),
25 'ordering': ['sort_key'],
27 bases=(models.Model,),