From 5692b8f3418c3d5e33add3801b29a1bb280bd157 Mon Sep 17 00:00:00 2001 From: Nick Black Date: Thu, 24 Jan 2008 11:24:32 +0000 Subject: [PATCH] commented out migration which deletes the ways column nodes --- db/migrate/013_populate_node_tags_and_remove.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/db/migrate/013_populate_node_tags_and_remove.rb b/db/migrate/013_populate_node_tags_and_remove.rb index c7f0ad73b..7583c6618 100644 --- a/db/migrate/013_populate_node_tags_and_remove.rb +++ b/db/migrate/013_populate_node_tags_and_remove.rb @@ -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 -- 2.43.2