commented out migration which deletes the ways column nodes

This commit is contained in:
Nick Black 2008-01-24 11:24:32 +00:00
parent 1613799be4
commit 5692b8f341

View file

@ -1,12 +1,13 @@
class PopulateNodeTagsAndRemove < ActiveRecord::Migration class PopulateNodeTagsAndRemove < ActiveRecord::Migration
def self.up def self.up
#rake import #rake import
remove_column :nodes, :tags #commented out to stop people from breaking their db
remove_column :current_nodes, :tags # remove_column :nodes, :tags
# remove_column :current_nodes, :tags
end end
def self.down def self.down
add_column :nodes, "tags", :text, :default => "", :null => false # add_column :nodes, "tags", :text, :default => "", :null => false
add_column :current_nodes, "tags", :text, :default => "", :null => false # add_column :current_nodes, "tags", :text, :default => "", :null => false
end end
end end