Store aggregate members in the database
For presentation purposes, we need to know what builds are part of an aggregate build. So at evaluation time, look at the "members" attribute, find the corresponding builds in the eval, and create a mapping in the AggregateMembers table.
This commit is contained in:
@ -514,6 +514,13 @@ create table NewsItems (
|
||||
);
|
||||
|
||||
|
||||
create table AggregateMembers (
|
||||
aggregate integer not null references Builds(id) on delete cascade,
|
||||
member integer not null references Builds(id) on delete cascade,
|
||||
primary key (aggregate, member)
|
||||
);
|
||||
|
||||
|
||||
-- Cache of the number of finished builds.
|
||||
create table NrBuilds (
|
||||
what text primary key not null,
|
||||
|
Reference in New Issue
Block a user