]> git.openstreetmap.org Git - rails.git/commitdiff
removed unneeded migrations 015 and 014
authorNick Black <nickb@svn.openstreetmap.org>
Wed, 23 Jan 2008 17:36:01 +0000 (17:36 +0000)
committerNick Black <nickb@svn.openstreetmap.org>
Wed, 23 Jan 2008 17:36:01 +0000 (17:36 +0000)
db/migrate/014_add_version_to_nodes.rb [deleted file]
db/migrate/015_add_primary_key_on_nodes_id_version.rb [deleted file]

diff --git a/db/migrate/014_add_version_to_nodes.rb b/db/migrate/014_add_version_to_nodes.rb
deleted file mode 100644 (file)
index 8afa548..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-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
diff --git a/db/migrate/015_add_primary_key_on_nodes_id_version.rb b/db/migrate/015_add_primary_key_on_nodes_id_version.rb
deleted file mode 100644 (file)
index 680a7ba..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-class AddPrimaryKeyOnNodesIdVersion < ActiveRecord::Migration
-
-  #Migration will fail to run unless rake db:node_version has been run previously
-  def self.up
-    add_primary_key "nodes", ["id", "version"] 
-  end
-
-  def self.down
-  end
-end