--- /dev/null
+class PopulateNodeTagsAndRemove < ActiveRecord::Migration
+ def self.up
+
+ #rake import
+ 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
--- /dev/null
+class AddVersionToNodes < ActiveRecord::Migration
+ def self.up
+ add_column :nodes, :version, :bigint, :limit => 20, :default => 0, :null => false
+ end
+
+ def self.down
+ remove_column :nodes, :version
+ add_index "nodes", ["id"], :name => "nodes_uid_idx"
+ end
+end