* hydra: project members can do stuff that the owner can do

This commit is contained in:
Rob Vermaas 2010-03-10 10:02:25 +00:00
parent 1c4585dae3
commit 2c132a2748

View file

@ -25,6 +25,14 @@ create table Projects (
foreign key (owner) references Users(userName) on update cascade foreign key (owner) references Users(userName) on update cascade
); );
create table ProjectMembers (
project text not null,
userName text not null,
primary key (project, userName),
foreign key (project) references Projects(name) on delete cascade on update cascade,
foreign key (userName) references Users(userName) on delete cascade on update cascade
);
-- A jobset consists of a set of inputs (e.g. SVN repositories), one -- A jobset consists of a set of inputs (e.g. SVN repositories), one
-- of which contains a Nix expression containing an attribute set -- of which contains a Nix expression containing an attribute set