This commit is contained in:
r888888888 2015-01-19 16:58:54 -08:00
parent 9788ee069a
commit 74d636bafd

View File

@ -0,0 +1,7 @@
class RemoveUnusedIndexes < ActiveRecord::Migration
def change
execute "set statement_timeout = 0"
remove_index :posts, :source
remove_index :posts, :uploader_ip_addr
end
end