1 # Generated by Django 3.0.4 on 2020-11-02 11:09
3 from django.db import migrations, models
4 import django.db.models.deletion
7 class Migration(migrations.Migration):
10 ('catalogue', '0027_auto_20201027_1501'),
14 migrations.CreateModel(
15 name='CollectionCategory',
17 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18 ('name', models.CharField(max_length=255)),
19 ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='children', to='catalogue.CollectionCategory')),
22 'verbose_name': 'collection category',
23 'verbose_name_plural': 'collection categories',
27 model_name='collection',
29 field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='catalogue.CollectionCategory'),