Skip to content

Commit

Permalink
Add hostname to Vm
Browse files Browse the repository at this point in the history
This migration adds attribute `hostname` to `Vm`. For example
virtual machine in Vmware provider has attribute computer name
and now we will be able to render it into hostname.
  • Loading branch information
sasoc committed Feb 15, 2018
1 parent 40c5ced commit ee4da2a
Showing 1 changed file with 5 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

0 comments on commit ee4da2a

Please sign in to comment.