diff --git a/db/migrate/20150120005624_remove_unused_indexes.rb b/db/migrate/20150120005624_remove_unused_indexes.rb index 9c05aeecf..afdde3dd9 100644 --- a/db/migrate/20150120005624_remove_unused_indexes.rb +++ b/db/migrate/20150120005624_remove_unused_indexes.rb @@ -1,10 +1,7 @@ class RemoveUnusedIndexes < ActiveRecord::Migration[4.2] def change execute "set statement_timeout = 0" - begin - remove_index :posts, :source - remove_index :posts, :uploader_ip_addr - rescue ArgumentError - end + #remove_index :posts, :source + remove_index :posts, :uploader_ip_addr end end