Skip to content

Commit

Permalink
Merge pull request #14275 from lenovo/XCS-167
Browse files Browse the repository at this point in the history
Physical Server details
  • Loading branch information
blomquisg authored May 4, 2017
2 parents 4872781 + 33eecf1 commit f2cb9cd
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
16 changes: 16 additions & 0 deletions db/migrate/20170425185231_create_asset_details.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class CreateAssetDetails < ActiveRecord::Migration[5.0]
def change
create_table :asset_details do |t|
t.text :description
t.text :contact
t.text :location
t.text :room
t.text :rack_name
t.text :lowest_rack_unit
t.bigint :resource_id
t.string :resource_type
t.timestamps
t.index %w(resource_id resource_type)
end
end
end
12 changes: 12 additions & 0 deletions db/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ arbitration_settings:
- value
- created_on
- updated_on
asset_details:
- id
- description
- contact
- location
- room
- rack_name
- lowest_rack_unit
- resource_id
- resource_type
- created_at
- updated_at
assigned_server_roles:
- id
- miq_server_id
Expand Down

0 comments on commit f2cb9cd

Please sign in to comment.