Files
danbooru/db/migrate/20150120005624_remove_unused_indexes.rb
2019-12-22 21:23:37 -06:00

8 lines
198 B
Ruby

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