Skip to content

Commit

Permalink
Merge pull request #233 from EsdrasVP/create_storage_drives
Browse files Browse the repository at this point in the history
Create Physical Disks migration
  • Loading branch information
agrare authored Aug 10, 2018
2 parents 00d3b57 + e139888 commit 46a826e
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 46a826e

Please sign in to comment.