1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. 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', '0004_remove_booktags_count_related_info'),
12 ('dictionary', '0001_initial'),
16 migrations.CreateModel(
19 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
20 ('anchor', models.CharField(max_length=64)),
21 ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.Book')),
22 ('note', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dictionary.Note')),
27 bases=(models.Model,),
29 migrations.RemoveField(
33 migrations.RemoveField(
40 field=models.CharField(default='', max_length=10, db_index=True),
41 preserve_default=False,
46 field=models.CharField(default='', max_length=10, db_index=True),
47 preserve_default=False,
52 field=models.CharField(default='', max_length=128, db_index=True, blank=True),
53 preserve_default=False,