0008_auto_20161231_1803.py 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. # -*- coding: utf-8 -*-
  2. # Generated by Django 1.10.3 on 2016-12-31 18:03
  3. from __future__ import unicode_literals
  4. from django.db import migrations, models
  5. import django.db.models.deletion
  6. class Migration(migrations.Migration):
  7. dependencies = [
  8. ('mediaconvert', '0007_remove_media_mimetype'),
  9. ]
  10. operations = [
  11. migrations.CreateModel(
  12. name='Stream',
  13. fields=[
  14. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  15. ('stream_id', models.IntegerField(editable=False)),
  16. ('codec_type', models.CharField(editable=False, max_length=64)),
  17. ('stream_file', models.FileField(editable=False, upload_to='')),
  18. ('media', models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, to='mediaconvert.Media')),
  19. ],
  20. ),
  21. migrations.AlterUniqueTogether(
  22. name='stream',
  23. unique_together=set([('media', 'stream_id')]),
  24. ),
  25. ]