Commit bb83206c authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'fa-ignore_test_reports_pipeline_id' into 'master'

Ignore requirements test reports pipeline_id column

See merge request gitlab-org/gitlab!39366
parents d2945302 cb74f5fd
......@@ -7,9 +7,6 @@ module RequirementsManagement
include AtomicInternalId
include Sortable
include Gitlab::SQL::Pattern
include IgnorableColumns
ignore_column :pipeline_id, remove_with: '13.4', remove_after: '2020-08-22'
# the expected name for this table is `requirements_management_requirements`,
# but to avoid downtime and deployment issues `requirements` is still used
......
......@@ -4,6 +4,9 @@ module RequirementsManagement
class TestReport < ApplicationRecord
include Sortable
include BulkInsertSafe
include IgnorableColumns
ignore_column :pipeline_id, remove_with: '13.4', remove_after: '2020-08-22'
belongs_to :requirement, inverse_of: :test_reports
belongs_to :author, inverse_of: :test_reports, class_name: 'User'
......
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