Skip to content

Commit

Permalink
fixed #435 migrating 0026 backward
Browse files Browse the repository at this point in the history
  • Loading branch information
ojii committed Apr 15, 2010
1 parent adfcc73 commit 11bd52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/migrations/0026_finish_placeholder_migration.py
Expand Up @@ -21,7 +21,7 @@ def forwards(self, orm):
def backwards(self, orm):

# Renaming field 'CMSPlugin.placeholder' to 'CMSPlugin.new_placeholder'
db.delete_column('cms_cmsplugin', 'placeholder_id', 'new_placeholder_id')
db.rename_column('cms_cmsplugin', 'placeholder_id', 'new_placeholder_id')

# Adding field 'CMSPlugin.page'
db.add_column('cms_cmsplugin', 'page', self.gf('django.db.models.fields.related.ForeignKey')(default=0, to=orm['cms.Page']), keep_default=False)
Expand Down

0 comments on commit 11bd52a

Please sign in to comment.