Skip to content

Commit

Permalink
Create Storage Drivers migration
Browse files Browse the repository at this point in the history
  • Loading branch information
EsdrasVP committed Aug 9, 2018
1 parent fa066ba commit e139888
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions db/migrate/20180726142030_create_physical_disk.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class CreatePhysicalDisk < ActiveRecord::Migration[5.0]
def change
create_table :physical_disks do |t|
t.string :model
t.string :vendor
t.string :status
t.string :location
t.index :location
t.string :serial_number
t.string :health_state
t.string :type
t.string :disk_size
t.bigint :physical_storage_id
t.index :physical_storage_id
t.timestamps
end
end
end

0 comments on commit e139888

Please sign in to comment.