forked from lix-project/hydra
Add DB columns for when to notify responsible committers and which inputs should be checked
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
7913701d54
commit
6342464110
|
@ -57,6 +57,7 @@ create table Jobsets (
|
|||
triggerTime integer, -- set if we were triggered by a push event
|
||||
enabled integer not null default 1,
|
||||
enableEmail integer not null default 1,
|
||||
emailResponsible integer not null default 0, -- whether to email committers responsible for a build change
|
||||
hidden integer not null default 0,
|
||||
emailOverride text not null,
|
||||
keepnr integer not null default 3,
|
||||
|
@ -77,6 +78,7 @@ create table JobsetInputs (
|
|||
jobset text not null,
|
||||
name text not null,
|
||||
type text not null, -- "svn", "path", "uri", "string", "boolean", "nix"
|
||||
checkResponsible integer not null default 0, -- whether this input should be checked for responsbile commits
|
||||
primary key (project, jobset, name),
|
||||
foreign key (project, jobset) references Jobsets(project, name) on delete cascade on update cascade
|
||||
);
|
||||
|
@ -257,6 +259,7 @@ create table BuildInputs (
|
|||
uri text,
|
||||
revision text,
|
||||
value text,
|
||||
checkResponsible integer not null default 0,
|
||||
dependency integer, -- build ID of the input, for type == 'build'
|
||||
|
||||
path text,
|
||||
|
|
3
src/sql/upgrade-23.sql
Normal file
3
src/sql/upgrade-23.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
alter table Jobsets add column emailResponsible integer not null default 0;
|
||||
alter table JobsetInputs add column checkResponsible integer not null default 0;
|
||||
alter table BuildInputs add column checkResponsible integer not null default 0;
|
Loading…
Reference in a new issue