Add migration to add an index on node_id to way_nodes. This index was added

to the live database a month or so back to support rollback in Potlatch.
This commit is contained in:
Tom Hughes 2008-01-07 00:30:44 +00:00
parent 425b3654d7
commit 38b7137fe3

View file

@ -0,0 +1,9 @@
class WayNodesNodeIdx < ActiveRecord::Migration
def self.up
add_index "way_nodes", ["node_id"], :name => "way_nodes_node_idx"
end
def self.down
remove_index "way_nodes", :name => "way_nodes_node_idx"
end
end