Fix SQL syntax for migration 50. It failed with PostgreSQL 9.4. (#416)
This commit is contained in:
parent
8a120006f0
commit
de55303197
|
@ -93,8 +93,8 @@ 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))
|
||||
or old.checkInterval != new.checkInterval
|
||||
or old.enabled != new.enabled)
|
||||
or (old.checkInterval != new.checkInterval)
|
||||
or (old.enabled != new.enabled))
|
||||
execute procedure notifyJobsetSchedulingChanged();
|
||||
|
||||
#endif
|
||||
|
|
|
@ -7,6 +7,6 @@ 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))
|
||||
or old.checkInterval != new.checkInterval
|
||||
or old.enabled != new.enabled)
|
||||
or (old.checkInterval != new.checkInterval)
|
||||
or (old.enabled != new.enabled))
|
||||
execute procedure notifyJobsetSchedulingChanged();
|
||||
|
|
Loading…
Reference in a new issue