]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/013_populate_node_tags_and_remove.rb
Fix typo.
[rails.git] / db / migrate / 013_populate_node_tags_and_remove.rb
index f3642316ee64bf0f74e0fa1a4c1b5f729e70caa1..7583c661800be2e48fb3454e80b953d735960961 100644 (file)
@@ -1,13 +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