* In views, support selecting a job that doesn't depend on the

primary job, but is in the same jobset.
This commit is contained in:
Eelco Dolstra
2010-03-05 17:20:04 +00:00
parent 3501fa6465
commit 70466156e6
3 changed files with 44 additions and 9 deletions

View File

@ -196,5 +196,13 @@ if ($hydradbi =~ m/^dbi:Pg/) {
__PACKAGE__->sequence('jobsetevals_id_seq');
}
__PACKAGE__->has_many(
"buildIds",
"Hydra::Schema::JobsetEvalMembers",
{ "foreign.eval" => "self.id" },
);
__PACKAGE__->many_to_many(builds => 'buildIds', 'build');
# You can replace this text with custom content, and it will be preserved on regeneration
1;