forked from lix-project/hydra
2127d133cd
Currently the dashboard allows users to get a quick overview of the status of jobs they're interested in, but more will be added, e.g. viewing all your jobsets or all jobs of which you're a maintainer.
11 lines
621 B
SQL
11 lines
621 B
SQL
create table StarredJobs (
|
|
userName text not null,
|
|
project text not null,
|
|
jobset text not null,
|
|
job text not null,
|
|
primary key (userName, project, jobset, job),
|
|
foreign key (userName) references Users(userName) on update cascade on delete cascade,
|
|
foreign key (project) references Projects(name) on update cascade on delete cascade,
|
|
foreign key (project, jobset) references Jobsets(project, name) on update cascade on delete cascade,
|
|
foreign key (project, jobset, job) references Jobs(project, jobset, name) on update cascade on delete cascade
|
|
);
|