Allow multiple sources.
[redakcja.git] / src / catalogue / migrations / 0046_thema.py
1 # Generated by Django 4.0.6 on 2023-05-16 15:33
2
3 from django.db import migrations, models
4
5
6 class Migration(migrations.Migration):
7
8     dependencies = [
9         ('catalogue', '0045_author_century_of_birth_author_century_of_death'),
10     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='Thema',
15             fields=[
16                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
17                 ('code', models.CharField(max_length=128, unique=True)),
18                 ('name', models.CharField(max_length=1024)),
19                 ('description', models.TextField(blank=True)),
20                 ('usable', models.BooleanField()),
21                 ('hidden', models.BooleanField(default=False)),
22             ],
23             options={
24                 'ordering': ('code',),
25             },
26         ),
27     ]