From 132eca159e4856e1b41042d23f7bf7eae43652d2 Mon Sep 17 00:00:00 2001 From: Julian Cheal <jcheal@redhat.com> Date: Thu, 8 Nov 2018 15:24:43 -0500 Subject: [PATCH] Create migration to add resource_type row Adds new row --- ...8194142_add_resource_type_to_miq_policy_and_condition.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrate/20181108194142_add_resource_type_to_miq_policy_and_condition.rb diff --git a/db/migrate/20181108194142_add_resource_type_to_miq_policy_and_condition.rb b/db/migrate/20181108194142_add_resource_type_to_miq_policy_and_condition.rb new file mode 100644 index 000000000..20f43ee00 --- /dev/null +++ b/db/migrate/20181108194142_add_resource_type_to_miq_policy_and_condition.rb @@ -0,0 +1,6 @@ +class AddResourceTypeToMiqPolicyAndCondition < ActiveRecord::Migration[5.0] + def change + add_column :miq_policies, :resource_type, :string + add_column :conditions, :resource_type, :string + end +end