Update cycle_notification_history.sql

This commit is contained in:
poveyd
2020-05-05 14:18:46 +01:00
committed by GitHub
parent 2e7ae5618c
commit 664025b316

View File

@@ -22,6 +22,7 @@ END
$$;
DROP TRIGGER IF EXISTS update_pivot on notification_history;
-- Following may be blocked if running vacuum.
CREATE TRIGGER update_pivot AFTER UPDATE OF notification_status, billable_units, updated_at, sent_by, sent_at ON notification_history
FOR EACH ROW
EXECUTE PROCEDURE update_pivot_table();