Remove YouTube files after upload.
[audio.git] / src / archive / migrations / 0006_piece.py
1 # Generated by Django 3.0.4 on 2020-05-04 11:48
2
3 from django.db import migrations, models
4
5
6 class Migration(migrations.Migration):
7
8     dependencies = [
9         ('archive', '0005_audiobook_youtube_id'),
10     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='Piece',
15             fields=[
16                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
17                 ('name', models.CharField(max_length=255)),
18                 ('source_file', models.FileField(upload_to='piece')),
19                 ('is_outro', models.BooleanField(default=False)),
20                 ('min_audiobook_duration', models.IntegerField(default=0)),
21             ],
22         ),
23     ]