Off by one error.
[audio.git] / src / archive / migrations / 0009_auto_20200524_0139.py
1 # Generated by Django 3.0.4 on 2020-05-24 01:39
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', '0008_remove_audiobook_youtube_file'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='License',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('uri', models.CharField(max_length=255, unique=True)),
19                 ('name', models.CharField(max_length=255)),
20             ],
21         ),
22         migrations.AddField(
23             model_name='audiobook',
24             name='license',
25             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='archive.License', verbose_name='license'),
26         ),
27     ]