Commit f4ae58f2 authored by Aleksei Lipniagov's avatar Aleksei Lipniagov

Merge branch '335281-remove-framework-from-framework-settings' into 'master'

Remove ignoring framework column for compliance project settings

See merge request gitlab-org/gitlab!71634
parents 62c86853 973da3fc
......@@ -5,13 +5,9 @@ require_dependency 'compliance_management/compliance_framework'
module ComplianceManagement
module ComplianceFramework
class ProjectSettings < ApplicationRecord
include IgnorableColumns
self.table_name = 'project_compliance_framework_settings'
self.primary_key = :project_id
ignore_columns :framework, remove_after: '2020-12-06', remove_with: '13.7'
belongs_to :project
belongs_to :compliance_management_framework, class_name: "ComplianceManagement::Framework", foreign_key: :framework_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