aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorZog2018-06-01 12:10:11 +0200
committerZog2018-06-01 12:10:11 +0200
commit1e6b830a083e4c30f9f65c7fa51a9f066742f66d (patch)
tree5bd2e7e6b6685246f95f8b887f451ec9d050a5c3 /db/migrate
parent12b974e13538b9f1952e4282c88d1b1a913c7f84 (diff)
downloadchouette-core-6979-ruby-controls-sets.tar.bz2
Refs #6979; Flag controls intended to be handled by the Java third-party app6979-ruby-controls-sets
And prevent calls to the java API when it is not needed
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180601094209_add_iev_enabled_check_to_compliance_checks.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20180601094209_add_iev_enabled_check_to_compliance_checks.rb b/db/migrate/20180601094209_add_iev_enabled_check_to_compliance_checks.rb
new file mode 100644
index 000000000..7044d3cd4
--- /dev/null
+++ b/db/migrate/20180601094209_add_iev_enabled_check_to_compliance_checks.rb
@@ -0,0 +1,6 @@
+class AddIevEnabledCheckToComplianceChecks < ActiveRecord::Migration
+ def change
+ add_column :compliance_checks, :iev_enabled_check, :boolean, default: true
+ add_column :compliance_controls, :iev_enabled_check, :boolean, default: true
+ end
+end