Fix joining audio streams for YouTube.
[audio.git] / src / youtube / migrations / 0005_auto_20200515_1634.py
1 # Generated by Django 3.0.4 on 2020-05-15 16:34
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         ('youtube', '0004_auto_20200504_1148'),
11     ]
12
13     operations = [
14         migrations.RenameField(
15             model_name='youtube',
16             old_name='card',
17             new_name='loop_card',
18         ),
19         migrations.AddField(
20             model_name='youtube',
21             name='thumbnail_definition',
22             field=models.TextField(blank=True),
23         ),
24         migrations.CreateModel(
25             name='Card',
26             fields=[
27                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
28                 ('order', models.SmallIntegerField()),
29                 ('image', models.FileField(upload_to='youtube/card')),
30                 ('duration', models.FloatField()),
31                 ('youtube', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='youtube.YouTube')),
32             ],
33             options={
34                 'ordering': ('order',),
35             },
36         ),
37     ]