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
def self.up
#rake import
remove_column :nodes, :tags
remove_column :current_nodes, :tags
#commented out to stop people from breaking their db
# remove_column :nodes, :tags
# remove_column :current_nodes, :tags
end
def self.down
add_column :nodes, "tags", :text, :default => "", :null => false
add_column :current_nodes, "tags", :text, :default => "", :null => false
# add_column :nodes, "tags", :text, :default => "", :null => false
# add_column :current_nodes, "tags", :text, :default => "", :null => false
end
end