]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/014_populate_node_tags_and_remove.rb
move migrations around
[rails.git] / db / migrate / 014_populate_node_tags_and_remove.rb
diff --git a/db/migrate/014_populate_node_tags_and_remove.rb b/db/migrate/014_populate_node_tags_and_remove.rb
new file mode 100644 (file)
index 0000000..7583c66
--- /dev/null
@@ -0,0 +1,13 @@
+class PopulateNodeTagsAndRemove < ActiveRecord::Migration
+  def self.up
+    #rake import 
+    #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
+  end
+end