Commit 2a2c5ebf authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'mzajac/fix-broken-master-from-84117' into 'master'

Fix broken background migration spec

See merge request gitlab-org/gitlab!84414
parents 83ccd0c2 22ec669c
......@@ -88,8 +88,14 @@ module EE
end
end
class Project < ActiveRecord::Base
self.table_name = :projects
end
class Pipeline < ActiveRecord::Base
self.table_name = :ci_pipelines
belongs_to :project, class_name: '::Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings::Project', foreign_key: :project_id
end
class Build < ActiveRecord::Base
......
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