ataru
.public
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
update_application_modified_time()
Parameters
Name
Type
Mode
IN
Definition
begin if (tg_op = 'DELETE') then update applications set modified_time = now()::timestamptz where key = old.application_key and modified_time <> now()::timestamptz; return null; else update applications set modified_time = now()::timestamptz where key = new.application_key and modified_time <> now()::timestamptz; return null; end if; end;