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/20211119194024_add_required_approval_count_to_protected_environments.rb')
-rw-r--r--db/migrate/20211119194024_add_required_approval_count_to_protected_environments.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20211119194024_add_required_approval_count_to_protected_environments.rb b/db/migrate/20211119194024_add_required_approval_count_to_protected_environments.rb
new file mode 100644
index 00000000000..ca6b78efbc7
--- /dev/null
+++ b/db/migrate/20211119194024_add_required_approval_count_to_protected_environments.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class AddRequiredApprovalCountToProtectedEnvironments < Gitlab::Database::Migration[1.0]
+ def change
+ add_column :protected_environments, :required_approval_count, :integer, default: 0, null: false
+ end
+end