From ce2a6bdb62dbbc02926677a153a09baca7a56339 Mon Sep 17 00:00:00 2001 From: Odravison Amaral Date: Fri, 24 Mar 2017 09:49:54 -0300 Subject: [PATCH 1/2] Adds vendor property to physical_server --- .../20170324124452_add_vendor_property_to_physical_server.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20170324124452_add_vendor_property_to_physical_server.rb diff --git a/db/migrate/20170324124452_add_vendor_property_to_physical_server.rb b/db/migrate/20170324124452_add_vendor_property_to_physical_server.rb new file mode 100644 index 00000000000..ce2d3a3c09d --- /dev/null +++ b/db/migrate/20170324124452_add_vendor_property_to_physical_server.rb @@ -0,0 +1,5 @@ +class AddVendorPropertyToPhysicalServer < ActiveRecord::Migration[5.0] + def change + add_column :physical_servers, :vendor, :string + end +end From 11b08b1d1afc6bdf83ee787eaac6640b7e0ebf6b Mon Sep 17 00:00:00 2001 From: Odravison Amaral Date: Fri, 24 Mar 2017 13:37:22 -0300 Subject: [PATCH 2/2] Adds vendor property to schema.yml --- db/schema.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/db/schema.yml b/db/schema.yml index ef84f761996..2670912aeed 100644 --- a/db/schema.yml +++ b/db/schema.yml @@ -6154,6 +6154,7 @@ physical_servers: - serial_number - field_replaceable_unit - raw_power_state +- vendor pictures: - id - resource_id