Add basic login.
[wolnelektury.git] / src / annoy / migrations / 0013_mediainsertset_mediainserttext.py
1 # Generated by Django 4.0.8 on 2023-07-21 15:12
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         ('annoy', '0012_banner_only_authenticated'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='MediaInsertSet',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('file_format', models.CharField(choices=[('epub', 'epub'), ('mobi', 'mobi')], max_length=8)),
19                 ('etag', models.CharField(blank=True, max_length=64)),
20             ],
21         ),
22         migrations.CreateModel(
23             name='MediaInsertText',
24             fields=[
25                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
26                 ('ordering', models.IntegerField()),
27                 ('text', models.TextField()),
28                 ('media_insert_set', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='annoy.mediainsertset')),
29             ],
30             options={
31                 'ordering': ('ordering',),
32             },
33         ),
34     ]