book json
[audio.git] / src / archive / migrations / 0024_auto_20211222_1604.py
1 # Generated by Django 3.1.14 on 2021-12-22 16:04
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         ('archive', '0023_project_info_flac'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='Config',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('name', models.CharField(max_length=255)),
19                 ('intro_flac', models.FileField(blank=True, upload_to='config/intro_flac')),
20                 ('intro_min_seconds', models.IntegerField()),
21                 ('outro_flac', models.FileField(blank=True, upload_to='config/outro_flac')),
22                 ('outro_min_seconds', models.IntegerField()),
23             ],
24             options={
25                 'verbose_name': 'Configuration',
26                 'verbose_name_plural': 'Configurations',
27             },
28         ),
29         migrations.AddField(
30             model_name='project',
31             name='config',
32             field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='archive.config'),
33         ),
34     ]