Revert "remove mpixel search, remove some unused indexes on posts"

This reverts commit 11e550c385.
This commit is contained in:
r888888888
2015-01-18 22:56:02 -08:00
parent 7ad7101bc2
commit 5063e326e3
7 changed files with 123 additions and 102 deletions

View File

@@ -1,8 +0,0 @@
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