needed this default value for the migration to work properly on a clean database

pull/1/head
Ed Summers 2011-10-07 02:34:46 +00:00
parent 1a12a18196
commit e130cb10ae
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'Author.edition'
db.alter_column('core_author', 'edition_id', self.gf('django.db.models.fields.related.ForeignKey')(default='', to=orm['core.Edition']))
db.alter_column('core_author', 'edition_id', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['core.Edition']))
def backwards(self, orm):