Files
danbooru/db/migrate/20150120005624_remove_unused_indexes.rb
r888888888 74d636bafd fixes #2333
2015-01-19 16:58:54 -08:00

8 lines
191 B
Ruby

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