diff options
Diffstat (limited to 'askbot/migrations/0093_auto__del_field_vote_content_type__del_field_vote_object_id__chg_field.py')
-rw-r--r-- | askbot/migrations/0093_auto__del_field_vote_content_type__del_field_vote_object_id__chg_field.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/migrations/0093_auto__del_field_vote_content_type__del_field_vote_object_id__chg_field.py b/askbot/migrations/0093_auto__del_field_vote_content_type__del_field_vote_object_id__chg_field.py index 830a3cd6..ccbb3e25 100644 --- a/askbot/migrations/0093_auto__del_field_vote_content_type__del_field_vote_object_id__chg_field.py +++ b/askbot/migrations/0093_auto__del_field_vote_content_type__del_field_vote_object_id__chg_field.py @@ -18,7 +18,7 @@ class Migration(SchemaMigration): db.delete_column(u'vote', 'object_id') # Changing field 'Vote.voted_post' - db.alter_column(u'vote', 'voted_post_id', self.gf('django.db.models.fields.related.ForeignKey')(default=0, to=orm['askbot.Post'])) + db.alter_column(u'vote', 'voted_post_id', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['askbot.Post'])) # Adding unique constraint on 'Vote', fields ['user', 'voted_post'] db.create_unique(u'vote', ['user_id', 'voted_post_id']) |