From 41a020e3237fe487e3b5bdacf7506f2da2a2f862 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 27 Oct 2016 13:43:05 +0200 Subject: [PATCH] Fix typo --- src/sql/upgrade-50.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sql/upgrade-50.sql b/src/sql/upgrade-50.sql index b19dfa5f..b394500c 100644 --- a/src/sql/upgrade-50.sql +++ b/src/sql/upgrade-50.sql @@ -6,7 +6,7 @@ create trigger JobsetsDeleted after delete on Jobsets execute procedure notifyJo create function notifyJobsetSchedulingChanged() returns trigger as 'begin notify jobset_scheduling_changed; return null; end;' language plpgsql; create trigger JobsetSchedulingChanged after update on Jobsets for each row - when ((old.triggerTime is distinct from new.triggerTime) and (new.triggerTime is not null)) + when (((old.triggerTime is distinct from new.triggerTime) and (new.triggerTime is not null)) or old.checkInterval != new.checkInterval - or old.enabled != new.enabled + or old.enabled != new.enabled) execute procedure notifyJobsetSchedulingChanged();