]> git.openstreetmap.org Git - rails.git/blob - db/migrate/009_way_nodes_node_idx.rb
set the db encoding to utf-8, otherwise data is stored incorrectly in db. Can be...
[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