diff options
Diffstat (limited to 'db/migrate/20211207165508_add_protected_environments_required_approval_count_check_constraint.rb')
-rw-r--r-- | db/migrate/20211207165508_add_protected_environments_required_approval_count_check_constraint.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/db/migrate/20211207165508_add_protected_environments_required_approval_count_check_constraint.rb b/db/migrate/20211207165508_add_protected_environments_required_approval_count_check_constraint.rb deleted file mode 100644 index fb1339cecfa..00000000000 --- a/db/migrate/20211207165508_add_protected_environments_required_approval_count_check_constraint.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -class AddProtectedEnvironmentsRequiredApprovalCountCheckConstraint < Gitlab::Database::Migration[1.0] - CONSTRAINT_NAME = 'protected_environments_required_approval_count_positive' - - disable_ddl_transaction! - - def up - add_check_constraint :protected_environments, 'required_approval_count >= 0', CONSTRAINT_NAME - end - - def down - remove_check_constraint :protected_environments, CONSTRAINT_NAME - end -end |