]> git.openstreetmap.org Git - rails.git/blob - db/migrate/009_way_nodes_node_idx.rb
New version of the file, from http://osm.mitago.net/translate/script.php?current_lang=ca
[rails.git] / db / migrate / 009_way_nodes_node_idx.rb
1 class WayNodesNodeIdx  < ActiveRecord::Migration
2   def self.up
3     add_index "way_nodes", ["node_id"], :name => "way_nodes_node_idx"
4   end
5
6   def self.down
7     remove_index "way_nodes", :name => "way_nodes_node_idx"
8   end
9 end