Skip to content

Commit

Permalink
Dont try to remove non existing index
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed May 9, 2010
1 parent 2507d84 commit 6013c15
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion db/migrate/20100409194926_add_missing_indices.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ def self.up

def self.down
remove_index :tolk_translations, :column => [:phrase_id, :locale_id]
remove_index :tolk_phrases, :column => :key
remove_index :tolk_locales, :column => :name
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def self.up

def self.down
remove_index :tolk_translations, :column => [:phrase_id, :locale_id]
remove_index :tolk_phrases, :column => :key
remove_index :tolk_locales, :column => :name

drop_table :tolk_translations
Expand Down

0 comments on commit 6013c15

Please sign in to comment.