Show Thema in legimi button
[redakcja.git] / src / catalogue / migrations / 0034_notablebook.py
1 # Generated by Django 4.0.6 on 2022-09-19 15:35
2
3 from django.db import migrations, models
4 import django.db.models.deletion
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ('catalogue', '0033_author_description_pl_author_first_name_de_and_more'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='NotableBook',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('ordering', models.PositiveIntegerField(default=0, verbose_name='ordering')),
19                 ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.author')),
20                 ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.book')),
21             ],
22             options={
23                 'ordering': ['ordering'],
24                 'abstract': False,
25             },
26         ),
27     ]