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