Jobsets.builds: Fetch via Jobsets.id

This commit is contained in:
Graham Christensen 2020-02-05 16:35:39 -05:00
parent 3c392b8cd8
commit 7c71f9df28
No known key found for this signature in database
GPG key ID: FE918C3A98C1030F

View file

@ -423,10 +423,7 @@ Related object: L<Hydra::Schema::Builds>
__PACKAGE__->has_many(
"builds",
"Hydra::Schema::Builds",
{
"foreign.jobset" => "self.name",
"foreign.project" => "self.project",
},
{ "foreign.jobset_id" => "self.id" },
undef,
);