Permalink
Browse files

Fixed all rollback migrations

  • Loading branch information...
1 parent d0b41f7 commit d1cd5c29d5b67b4dd572a83afe5cd301515f012f @rocksolidwebdesign rocksolidwebdesign committed Apr 5, 2011
View
2 db/migrate/20101217113424_add_locale_to_slugs.rb
@@ -10,8 +10,6 @@ def self.up
def self.down
remove_column :slugs, :locale
- remove_index :slugs, :locale
-
::Slug.reset_column_information
end
end
View
2 db/migrate/20110307025652_translate_custom_title_on_pages.rb
@@ -25,6 +25,8 @@ def self.down
remove_column ::Page::Translation.table_name, :custom_title
+ ::Page.translated_attribute_names.delete(:custom_title)
+
::Page::Translation.reset_column_information
end
end

0 comments on commit d1cd5c2

Please sign in to comment.