Update Django, add search.
[audio.git] / src / youtube / migrations / 0011_thumbnailtemplate.py
1 # Generated by Django 3.0.6 on 2020-07-03 17:18
2
3 from django.db import migrations, models
4
5
6 class Migration(migrations.Migration):
7
8     dependencies = [
9         ('youtube', '0010_auto_20200520_1353'),
10     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='ThumbnailTemplate',
15             fields=[
16                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
17                 ('order', models.SmallIntegerField()),
18                 ('is_active', models.BooleanField()),
19                 ('background', models.FileField(upload_to='youtube/thumbnail')),
20                 ('definition', models.TextField()),
21                 ('genres', models.CharField(blank=True, max_length=255)),
22                 ('collections', models.CharField(blank=True, max_length=255)),
23             ],
24             options={
25                 'ordering': ('order',),
26             },
27         ),
28     ]