1 from django.db import models, migrations
2 import django.db.models.deletion
5 class Migration(migrations.Migration):
8 ('catalogue', '0001_initial'),
12 migrations.CreateModel(
15 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
16 ('anchor', models.CharField(max_length=64)),
17 ('html', models.TextField()),
18 ('sort_key', models.CharField(max_length=128, db_index=True)),
19 ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.Book')),
22 'ordering': ['sort_key'],
24 bases=(models.Model,),