]> git.openstreetmap.org Git - rails.git/blob - db/migrate/013_populate_node_tags_and_remove.rb
created a temporary old nodes table to add version
[rails.git] / db / migrate / 013_populate_node_tags_and_remove.rb
1 class PopulateNodeTagsAndRemove < ActiveRecord::Migration
2   def self.up
3
4     #rake import 
5     remove_column :nodes, :tags
6     remove_column :current_nodes, :tags
7   end
8
9   def self.down
10     add_column :nodes, "tags", :text, :default => "", :null => false
11     add_column :current_nodes, "tags", :text, :default => "", :null => false
12   end
13 end