Commit 22ec669c authored by Michał Zając's avatar Michał Zając

Fix broken background migration spec

parent e9cee7d3
......@@ -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