From 2bbbfd7a61f9acdcd10f7e512912083aeaf41691 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 7 Mar 2011 16:07:16 +0000 Subject: [PATCH] remove fk constraint jobsets.nixExprInput -> JobsetInputs.name, would only work on postgresql in postpone-fk-checking mode (at end of transaction in stead of through the transaction) which is not the default --- src/sql/hydra.sql | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/sql/hydra.sql b/src/sql/hydra.sql index c78081b3..1e3ee651 100644 --- a/src/sql/hydra.sql +++ b/src/sql/hydra.sql @@ -71,13 +71,6 @@ create table JobsetInputs ( ); -#ifdef POSTGRESQL -alter table Jobsets - add foreign key (project, name, nixExprInput) - references JobsetInputs(project, jobset, name); -#endif - - create table JobsetInputAlts ( project text not null, jobset text not null,