Include the eval IDs in the JSON /build result

This commit is contained in:
Eelco Dolstra 2015-09-02 12:57:58 +02:00
parent 2b9bf7526d
commit 4f018b0612

View file

@ -575,12 +575,6 @@ __PACKAGE__->has_many(
{ "foreign.build" => "self.id" },
);
__PACKAGE__->has_many(
"evals",
"Hydra::Schema::BuildInputs",
{ "foreign.build" => "self.id" },
);
__PACKAGE__->has_one(
"actualBuildStep",
"Hydra::Schema::BuildSteps",
@ -649,9 +643,11 @@ my %hint = (
'buildstatus',
'releasename'
],
relations => {
jobsetevals => 'id'
},
eager_relations => {
buildoutputs => 'name',
buildinputs_builds => 'name',
buildproducts => 'productnr',
buildmetrics => 'name',
}