]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/013_create_old_node_tags.rb
Make a copy of the rails code for the node tag splitting project, and remove
[rails.git] / db / migrate / 013_create_old_node_tags.rb
diff --git a/db/migrate/013_create_old_node_tags.rb b/db/migrate/013_create_old_node_tags.rb
deleted file mode 100644 (file)
index aeb5abd..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-class CreateOldNodeTags < ActiveRecord::Migration
-  def self.up
-    create_table "node_tags", myisam_table do |t|
-      t.column "id",          :bigint, :limit => 64, :default => 0, :null => false
-      t.column "version",     :bigint, :limit => 20,                :null => false
-      t.column "sequence_id", :bigint, :limit => 11,                :null => false
-      t.column "k",           :string,                              :null => false
-      t.column "v",           :string,                              :null => false
-    end
-
-    add_primary_key "node_tags", ["id", "version", "sequence_id"]
-  end
-
-  def self.down
-    drop_table :node_tags
-  end
-end