fixes #2333
This commit is contained in:
7
db/migrate/20150120005624_remove_unused_indexes.rb
Normal file
7
db/migrate/20150120005624_remove_unused_indexes.rb
Normal 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
|
||||||
Reference in New Issue
Block a user