removed unneeded migrations 015 and 014
This commit is contained in:
parent
4edd6d6fe9
commit
84f3271091
2 changed files with 0 additions and 20 deletions
|
@ -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
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue