Commit 778ffb36 authored by Felipe Artur's avatar Felipe Artur

Ignore requirements_management_test_reports.requirement_id column

We removed relationship between requirements and test reports as
part of deprecation process of Requirement objects. Now requirement_id
column can be ignored to be removed in the next release.

Changelog: other
EE: true
parent 4b0e82b7
......@@ -2,9 +2,12 @@
module RequirementsManagement
class TestReport < ApplicationRecord
include IgnorableColumns
include Sortable
include BulkInsertSafe
ignore_column :requirement_id, remove_with: '14.10', remove_after: '2022-03-22'
belongs_to :author, inverse_of: :test_reports, class_name: 'User'
belongs_to :build, class_name: 'Ci::Build'
belongs_to :requirement_issue, class_name: 'Issue', foreign_key: :issue_id
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment