remove mpixel search, remove some unused indexes on posts
This commit is contained in:
8
db/migrate/20150116013315_remove_unused_indexes.rb
Normal file
8
db/migrate/20150116013315_remove_unused_indexes.rb
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user