From 5974528dac84766bd97af40610c40c7cd40e1927 Mon Sep 17 00:00:00 2001 From: Roberto Ciatti Date: Thu, 28 Nov 2019 12:22:50 +0100 Subject: [PATCH] Add restart_needed field to vms Sometimes VMs need to be restarted to apply not hotpluggable configuration changes and the user needs to be aware of that. Changes to a VM can be applied through ManageIQ but also by the external the external system This is part of the RFE https://bugzilla.redhat.com/show_bug.cgi?id=1572649 --- db/migrate/20191128111630_add_restart_needed_to_vms.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20191128111630_add_restart_needed_to_vms.rb diff --git a/db/migrate/20191128111630_add_restart_needed_to_vms.rb b/db/migrate/20191128111630_add_restart_needed_to_vms.rb new file mode 100644 index 000000000..43b3d0016 --- /dev/null +++ b/db/migrate/20191128111630_add_restart_needed_to_vms.rb @@ -0,0 +1,5 @@ +class AddRestartNeededToVms < ActiveRecord::Migration[5.1] + def change + add_column :vms, :restart_needed, :boolean + end +end