]> git.openstreetmap.org Git - rails.git/commitdiff
commented out migration which deletes the ways column nodes
authorNick Black <nickb@svn.openstreetmap.org>
Thu, 24 Jan 2008 11:24:32 +0000 (11:24 +0000)
committerNick Black <nickb@svn.openstreetmap.org>
Thu, 24 Jan 2008 11:24:32 +0000 (11:24 +0000)
db/migrate/013_populate_node_tags_and_remove.rb

index c7f0ad73bb0bd231bc918203421ffd4b1dde74d0..7583c661800be2e48fb3454e80b953d735960961 100644 (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