hydra.sql: Make isChannel a not null column.

We have this set in upgrade-42.sql, so it's better to stay consistent
with the basic SQL file to avoid problems with new Hydra installations.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: Eelco Dolstra <eelco.dolstra@logicblox.com>
This commit is contained in:
aszlig 2015-10-14 21:37:30 +02:00
parent 99cbe06b0d
commit 92e85f05e2
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -157,7 +157,7 @@ create table Builds (
maxsilent integer default 3600, -- meta.maxsilent maxsilent integer default 3600, -- meta.maxsilent
timeout integer default 36000, -- meta.timeout timeout integer default 36000, -- meta.timeout
isChannel integer default 0, -- meta.isHydraChannel isChannel integer not null default 0, -- meta.isHydraChannel
isCurrent integer default 0, isCurrent integer default 0,
-- Copy of the nixExprInput/nixExprPath fields of the jobset that -- Copy of the nixExprInput/nixExprPath fields of the jobset that