Rely on trigger

This commit is contained in:
Jan Kvetina 2022-01-31 05:29:06 +01:00
parent d8cfeb73c5
commit 35946a4753

View File

@ -2149,13 +2149,11 @@ CREATE OR REPLACE PACKAGE BODY app AS
BEGIN
app.log_warning('CREATING_EVENT', rec.event_id);
--
INSERT INTO events (app_id, event_id, is_active, updated_by, updated_at)
INSERT INTO events (app_id, event_id, is_active)
VALUES (
rec.app_id,
rec.event_id,
'Y',
app.get_user_id(),
SYSDATE
'Y'
);
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN