diff options
Diffstat (limited to 'db/post_migrate/20220705180843_validate_requirements_issue_id_not_null.rb')
-rw-r--r-- | db/post_migrate/20220705180843_validate_requirements_issue_id_not_null.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/db/post_migrate/20220705180843_validate_requirements_issue_id_not_null.rb b/db/post_migrate/20220705180843_validate_requirements_issue_id_not_null.rb deleted file mode 100644 index a0c8954b481..00000000000 --- a/db/post_migrate/20220705180843_validate_requirements_issue_id_not_null.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -class ValidateRequirementsIssueIdNotNull < Gitlab::Database::Migration[2.0] - disable_ddl_transaction! - - def up - constraint_name = 'check_requirement_issue_not_null' - - validate_not_null_constraint(:requirements, :issue_id, constraint_name: constraint_name) - end - - def down - # No op - end -end |