Add IP addr indexes on comments & artist/artcomm/wikipage versions.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class AddIpAddrIndexesToTables < ActiveRecord::Migration
|
||||
def change
|
||||
reversible { execute "set statement_timeout = 0" }
|
||||
add_index :wiki_page_versions, :updater_ip_addr
|
||||
add_index :artist_commentary_versions, :updater_ip_addr
|
||||
add_index :artist_versions, :updater_ip_addr
|
||||
add_index :comments, :ip_addr
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user