Skip to content

Commit

Permalink
Merge pull request ManageIQ#168 from sasoc/add-hostname-to-vm
Browse files Browse the repository at this point in the history
Add hostname to Vm
  • Loading branch information
Fryguy authored and douglasgabriel committed Mar 19, 2018
2 parents 002725a + ee4da2a commit 1e5338a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20180215164010_add_hostname_to_vm.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddHostnameToVm < ActiveRecord::Migration[5.0]
def change
add_column :vms, :hostname, :string
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class AddProductDetailsColumnsToAssetDetails < ActiveRecord::Migration[5.0]
def change
add_column :asset_details, :product_name, :string
add_column :asset_details, :manufacturer, :string
add_column :asset_details, :machine_type, :string
add_column :asset_details, :model, :string
add_column :asset_details, :serial_number, :string
add_column :asset_details, :field_replaceable_unit, :string
end
end

0 comments on commit 1e5338a

Please sign in to comment.