forked from lix-project/hydra
Merge branch 'master' of github.com:NixOS/hydra
This commit is contained in:
commit
15cac00906
|
@ -26,6 +26,7 @@ create table Projects (
|
||||||
foreign key (owner) references Users(userName) on update cascade
|
foreign key (owner) references Users(userName) on update cascade
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
create table ProjectMembers (
|
create table ProjectMembers (
|
||||||
project text not null,
|
project text not null,
|
||||||
userName text not null,
|
userName text not null,
|
||||||
|
@ -478,6 +479,7 @@ create table UriRevMapper (
|
||||||
primary key (baseuri)
|
primary key (baseuri)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
create table NewsItems (
|
create table NewsItems (
|
||||||
#ifdef POSTGRESQL
|
#ifdef POSTGRESQL
|
||||||
id serial primary key not null,
|
id serial primary key not null,
|
||||||
|
@ -490,6 +492,7 @@ create table NewsItems (
|
||||||
foreign key (author) references Users(userName) on delete cascade on update cascade
|
foreign key (author) references Users(userName) on delete cascade on update cascade
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
create table BuildMachines (
|
create table BuildMachines (
|
||||||
hostname text primary key NOT NULL,
|
hostname text primary key NOT NULL,
|
||||||
username text DEFAULT '' NOT NULL,
|
username text DEFAULT '' NOT NULL,
|
||||||
|
@ -500,6 +503,7 @@ create table BuildMachines (
|
||||||
enabled integer DEFAULT 0 NOT NULL
|
enabled integer DEFAULT 0 NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
create table BuildMachineSystemTypes (
|
create table BuildMachineSystemTypes (
|
||||||
hostname text NOT NULL,
|
hostname text NOT NULL,
|
||||||
system text NOT NULL,
|
system text NOT NULL,
|
||||||
|
@ -507,6 +511,7 @@ create table BuildMachineSystemTypes (
|
||||||
foreign key (hostname) references BuildMachines(hostname) on delete cascade
|
foreign key (hostname) references BuildMachines(hostname) on delete cascade
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
-- Some indices.
|
-- Some indices.
|
||||||
create index IndexBuildInputsOnBuild on BuildInputs(build);
|
create index IndexBuildInputsOnBuild on BuildInputs(build);
|
||||||
create index IndexBuildInputsOnDependency on BuildInputs(dependency);
|
create index IndexBuildInputsOnDependency on BuildInputs(dependency);
|
||||||
|
|
Loading…
Reference in a new issue