From c9d35e1f7adae6496d351dd9746abb680bf9e62a Mon Sep 17 00:00:00 2001 From: Greg Blomquist Date: Tue, 4 Apr 2017 17:01:16 -0400 Subject: [PATCH] Merge pull request #14488 from Odravison/migration_to_physical_server Adds vendor property to physical_server (cherry picked from commit 77ebf9317a62822cec8a75514df14c24f772f908) --- .../20170324124452_add_vendor_property_to_physical_server.rb | 5 +++++ db/schema.yml | 1 + 2 files changed, 6 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 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