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

This commit is contained in:
Rob Vermaas 2011-03-07 16:07:16 +00:00
parent 107a879adc
commit 2bbbfd7a61

View file

@ -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 ( create table JobsetInputAlts (
project text not null, project text not null,
jobset text not null, jobset text not null,