Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eradicate page_translations -- where did this come from? We don't use…
… it, no model for it.. gone
- Loading branch information
Showing
4 changed files
with
855 additions
and
841 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
db/migrate/20100729221735_remove_page_translations_if_present.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
class RemovePageTranslationsIfPresent < ActiveRecord::Migration | ||
def self.up | ||
begin | ||
drop_table :page_translations | ||
rescue | ||
puts "-- page_translations did not exist, all is well." | ||
end | ||
end | ||
|
||
def self.down | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.