From: Nick Black Date: Wed, 23 Jan 2008 17:36:01 +0000 (+0000) Subject: removed unneeded migrations 015 and 014 X-Git-Tag: live~7919 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/84f3271091c254b83802fa6e9ace256ac3a847df removed unneeded migrations 015 and 014 --- diff --git a/db/migrate/014_add_version_to_nodes.rb b/db/migrate/014_add_version_to_nodes.rb deleted file mode 100644 index 8afa54875..000000000 --- a/db/migrate/014_add_version_to_nodes.rb +++ /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 index 680a7ba16..000000000 --- a/db/migrate/015_add_primary_key_on_nodes_id_version.rb +++ /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