X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/425b3654d711eb01a8ce5511a123cc4c24b6db02..38b7137fe3c5e88b0551c536aa1087a0b32145f4:/db/migrate/009_way_nodes_node_idx.rb diff --git a/db/migrate/009_way_nodes_node_idx.rb b/db/migrate/009_way_nodes_node_idx.rb new file mode 100644 index 000000000..41b7c9fcd --- /dev/null +++ b/db/migrate/009_way_nodes_node_idx.rb @@ -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