Skip to content

Commit

Permalink
Add parent physical chassis id to physical chassis
Browse files Browse the repository at this point in the history
This additional field is used to model chassis nesting, for example
rack containing multiple enclosures that in turn contain multiple
sleds, containing one or more physical servers.
  • Loading branch information
Tadej Borovšak committed Aug 30, 2018
1 parent 3e13dbc commit 7142dd2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddParentPhysicalChassisIdToPhysicalChassis < ActiveRecord::Migration[5.0]
def change
add_column :physical_chassis, :parent_physical_chassis_id, :bigint
end
end

0 comments on commit 7142dd2

Please sign in to comment.