forked from e621ng/e621ng
fixes #2333
This commit is contained in:
parent
9788ee069a
commit
74d636bafd
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
|
Loading…
Reference in New Issue
Block a user