Commit d76fdb82 authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Explicitly set class name for relation in migrations

parent 2d4b9206
......@@ -10,7 +10,7 @@ module Gitlab
self.table_name = 'vulnerabilities'
has_one :finding
has_one :finding, class_name: '::Gitlab::BackgroundMigration::PopulateMissingVulnerabilityDismissalInformation::Finding'
scope :broken, -> { where('state = 2 AND (dismissed_at IS NULL OR dismissed_by_id IS NULL)') }
......
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