Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20201116090328_add_regulated_to_compliance_frameworks.rb')
-rw-r--r--db/migrate/20201116090328_add_regulated_to_compliance_frameworks.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20201116090328_add_regulated_to_compliance_frameworks.rb b/db/migrate/20201116090328_add_regulated_to_compliance_frameworks.rb
new file mode 100644
index 00000000000..f2e0c23ccfc
--- /dev/null
+++ b/db/migrate/20201116090328_add_regulated_to_compliance_frameworks.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddRegulatedToComplianceFrameworks < ActiveRecord::Migration[6.0]
+ DOWNTIME = false
+
+ def change
+ add_column(:compliance_management_frameworks, :regulated, :boolean, default: true, null: false)
+ end
+end