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/20220531140515_add_applies_to_all_protected_branches_to_approval_project_rule.rb')
-rw-r--r--db/migrate/20220531140515_add_applies_to_all_protected_branches_to_approval_project_rule.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20220531140515_add_applies_to_all_protected_branches_to_approval_project_rule.rb b/db/migrate/20220531140515_add_applies_to_all_protected_branches_to_approval_project_rule.rb
new file mode 100644
index 00000000000..4015d3fa1f7
--- /dev/null
+++ b/db/migrate/20220531140515_add_applies_to_all_protected_branches_to_approval_project_rule.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class AddAppliesToAllProtectedBranchesToApprovalProjectRule < Gitlab::Database::Migration[2.0]
+ def change
+ add_column :approval_project_rules, :applies_to_all_protected_branches, :boolean, default: false, null: false
+ end
+end