Skip to content

Commit de3254a

Browse files
authored
new DPT event (#1361)
DPT-2662 changes
1 parent aeb4e4d commit de3254a

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- Insert IPV_EXPIRED_DCMAW_DL_VC_FOUND if it doesn't exist
2+
INSERT INTO conformed_refactored.batch_events_refactored (event_name, insert_timestamp, max_run_date)
3+
SELECT 'IPV_EXPIRED_DCMAW_DL_VC_FOUND', sysdate, '1999-01-01'
4+
WHERE NOT EXISTS (
5+
SELECT 1
6+
FROM conformed_refactored.batch_events_refactored
7+
WHERE event_name = 'IPV_EXPIRED_DCMAW_DL_VC_FOUND'
8+
);
9+
10+
11+
-- Insert IPV_EXPIRED_FRAUD_VC_FOUND if it doesn't exist
12+
INSERT INTO conformed_refactored.batch_events_refactored (event_name, insert_timestamp, max_run_date)
13+
SELECT 'IPV_EXPIRED_FRAUD_VC_FOUND', sysdate, '1999-01-01'
14+
WHERE NOT EXISTS (
15+
SELECT 1
16+
FROM conformed_refactored.batch_events_refactored
17+
WHERE event_name = 'IPV_EXPIRED_FRAUD_VC_FOUND'
18+
);
19+

0 commit comments

Comments
 (0)