remove mpixel search, remove some unused indexes on posts

This commit is contained in:
r888888888
2015-01-15 17:43:10 -08:00
parent bdb5bb49da
commit 11e550c385
7 changed files with 102 additions and 123 deletions
@@ -0,0 +1,8 @@
class RemoveUnusedIndexes < ActiveRecord::Migration
def change
execute "set statement_timeout = 0"
remove_index :posts, :mpixels
remove_index :posts, :source
remove_index :posts, :uploader_ip_addr
end
end