Skip to content

Commit

Permalink
Fixed all rollback migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
rocksolidwebdesign committed Apr 5, 2011
1 parent d0b41f7 commit d1cd5c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions db/migrate/20101217113424_add_locale_to_slugs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ def self.up
def self.down
remove_column :slugs, :locale

remove_index :slugs, :locale

::Slug.reset_column_information
end
end
2 changes: 2 additions & 0 deletions db/migrate/20110307025652_translate_custom_title_on_pages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.