diff --git a/src/hydra.sql b/src/hydra.sql index e82d260f..31962321 100644 --- a/src/hydra.sql +++ b/src/hydra.sql @@ -324,7 +324,7 @@ create table ReleaseSets ( create trigger cascadeReleaseSetDelete before delete on ReleaseSets for each row begin - delete from ReleaseSetJobs where project = old.project and release = old.release; + delete from ReleaseSetJobs where project = old.project and release = old.name; end;