1 # Generated by Django 2.2.16 on 2020-11-08 15:38
3 from django.db import migrations, models
4 import django.db.models.deletion
7 class Migration(migrations.Migration):
12 ('catalogue', '0030_collection_role'),
16 migrations.CreateModel(
19 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20 ('uri', models.CharField(db_index=True, max_length=255, unique=True)),
21 ('label', models.CharField(blank=True, max_length=1024)),
22 ('description', models.CharField(blank=True, max_length=2048)),
23 ('wikipedia_link', models.CharField(blank=True, max_length=1024)),
24 ('lat', models.FloatField(blank=True, null=True)),
25 ('lon', models.FloatField(blank=True, null=True)),
26 ('images', models.TextField(blank=True)),
29 migrations.CreateModel(
32 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
33 ('first_section', models.CharField(max_length=255)),
34 ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.Book')),
35 ('entity', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='references.Entity')),
38 'unique_together': {('book', 'entity')},