diff --git a/src/sql/hydra.sql b/src/sql/hydra.sql index 23fc7925..2df03620 100644 --- a/src/sql/hydra.sql +++ b/src/sql/hydra.sql @@ -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, diff --git a/src/sql/upgrade-23.sql b/src/sql/upgrade-23.sql new file mode 100644 index 00000000..2a53fe85 --- /dev/null +++ b/src/sql/upgrade-23.sql @@ -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;