Clean up root controller

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy
2013-10-24 16:12:36 -04:00
parent 5d3df69a0b
commit a89096ec5e
3 changed files with 33 additions and 24 deletions

View File

@ -169,4 +169,21 @@ __PACKAGE__->has_many(
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-06-13 01:54:50
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OZsXJniZ/7EB2iSz7p5y4A
my %hint = (
columns => [
"machine",
"system",
"stepnr",
"drvpath",
"starttime",
],
eager_relations => {
build => 'id'
}
);
sub json_hint {
return \%hint;
}
1;

View File

@ -603,8 +603,19 @@ makeQueries('ForJob', "and project = ? and jobset = ? and job = ?");
my %hint = (
columns => [
"job",
"finished"
'id',
'finished',
'timestamp',
'stoptime',
'project',
'jobset',
'job',
'nixname',
'system',
'priority',
'busy',
'buildstatus',
'releasename'
]
);