diff --git a/db/migrate/20170216132118_add_health_state_property_to_physical_server.rb b/db/migrate/20170216132118_add_health_state_property_to_physical_server.rb new file mode 100755 index 00000000000..85fcb5bb08f --- /dev/null +++ b/db/migrate/20170216132118_add_health_state_property_to_physical_server.rb @@ -0,0 +1,5 @@ +class AddHealthStatePropertyToPhysicalServer < ActiveRecord::Migration[5.0] + def change + add_column :physical_servers, :health_state, :string + end +end diff --git a/db/migrate/20170217184205_add_power_state_property_to_physical_server.rb b/db/migrate/20170217184205_add_power_state_property_to_physical_server.rb new file mode 100755 index 00000000000..9c9c2203176 --- /dev/null +++ b/db/migrate/20170217184205_add_power_state_property_to_physical_server.rb @@ -0,0 +1,5 @@ +class AddPowerStatePropertyToPhysicalServer < ActiveRecord::Migration[5.0] + def change + add_column :physical_servers, :power_state, :string + end +end diff --git a/db/schema.yml b/db/schema.yml index 7a5f4a68111..83880a86698 100644 --- a/db/schema.yml +++ b/db/schema.yml @@ -6133,6 +6133,8 @@ physical_servers: - ems_ref - created_at - updated_at +- health_state +- power_state pictures: - id - resource_id