Skip to content

Commit

Permalink
Creating Physical Storage table
Browse files Browse the repository at this point in the history
  • Loading branch information
EsdrasVP committed May 15, 2018
1 parent 03ee0c0 commit 7292ced
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions db/migrate/20180426163655_create_physical_storage.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
class CreatePhysicalStorage < ActiveRecord::Migration[5.0]
def change
create_table :physical_storages do |t|
t.string :uid_ems
t.string :name
t.string :type
t.string :ems_ref
t.string :access_state
t.string :health_state
t.string :overall_health_state
t.bigint :ems_id
t.bigint :physical_rack_id
t.integer :drive_bays
t.integer :enclosures
t.integer :canister_slots
t.timestamps
end
end
end

0 comments on commit 7292ced

Please sign in to comment.