From ab4cf43c51d270cecddb96f7fa4fff21ff83e620 Mon Sep 17 00:00:00 2001 From: gordon Date: Sun, 7 Sep 2014 18:03:59 -0400 Subject: [PATCH] fix initial migration for released django 1.7 --- dj_elastictranscoder/migrations/0001_initial.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dj_elastictranscoder/migrations/0001_initial.py b/dj_elastictranscoder/migrations/0001_initial.py index 55ed7ef..7a0525e 100644 --- a/dj_elastictranscoder/migrations/0001_initial.py +++ b/dj_elastictranscoder/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations @@ -15,12 +15,12 @@ class Migration(migrations.Migration): name='EncodeJob', fields=[ ('id', models.CharField(max_length=100, serialize=False, primary_key=True)), - ('content_type', models.ForeignKey(to='contenttypes.ContentType', to_field='id')), ('object_id', models.PositiveIntegerField()), - ('state', models.PositiveIntegerField(default=0, db_index=True, choices=[(0, b'Submitted'), (1, b'Progressing'), (2, b'Error'), (3, b'Warning'), (4, b'Complete')])), + ('state', models.PositiveIntegerField(default=0, db_index=True, choices=[(0, b'Submitted'), (1, b'Progressing'), (2, b'Error'), (3, b'Complete')])), ('message', models.TextField()), ('created_at', models.DateTimeField(auto_now_add=True)), ('last_modified', models.DateTimeField(auto_now=True)), + ('content_type', models.ForeignKey(to='contenttypes.ContentType')), ], options={ },