Skip to content

Commit

Permalink
Merge pull request #13739 from transcom/B-20441-INT
Browse files Browse the repository at this point in the history
B 20441 int
  • Loading branch information
CoryKleinjanCACI authored Sep 19, 2024
2 parents ee98a66 + 679ccff commit d7edb16
Showing 1 changed file with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
INSERT INTO service_item_param_keys
(id,key,description,type,origin,created_at,updated_at)
VALUES
('7ec5cf87-a446-4dd6-89d3-50bbc0d2c206','LockedPriceCents', 'Locked price when move was made available to prime', 'INTEGER', 'SYSTEM', now(), now());
SELECT '7ec5cf87-a446-4dd6-89d3-50bbc0d2c206','LockedPriceCents', 'Locked price when move was made available to prime', 'INTEGER', 'SYSTEM', now(), now()
WHERE NOT EXISTS
(SELECT 1
FROM service_item_param_keys s
WHERE s.id = '7ec5cf87-a446-4dd6-89d3-50bbc0d2c206'
);

INSERT INTO service_params
(id,service_id,service_item_param_key_id,created_at,updated_at,is_optional)
VALUES
('22056106-bbde-4ae7-b5bd-e7d2f103ab7d',(SELECT id FROM re_services WHERE code='MS'),(SELECT id FROM service_item_param_keys where key='LockedPriceCents'), now(), now(), 'false');
SELECT '22056106-bbde-4ae7-b5bd-e7d2f103ab7d',(SELECT id FROM re_services WHERE code='MS'),(SELECT id FROM service_item_param_keys where key='LockedPriceCents'), now(), now(), 'false'
WHERE NOT EXISTS
( SELECT 1
FROM service_params s
WHERE s.id = '22056106-bbde-4ae7-b5bd-e7d2f103ab7d'
);

INSERT INTO service_params
(id,service_id,service_item_param_key_id,created_at,updated_at,is_optional)
VALUES
('86f8c20c-071e-4715-b0c1-608f540b3be3',(SELECT id FROM re_services WHERE code='CS'),(SELECT id FROM service_item_param_keys where key='LockedPriceCents'), now(), now(), 'false');
SELECT '86f8c20c-071e-4715-b0c1-608f540b3be3',(SELECT id FROM re_services WHERE code='CS'),(SELECT id FROM service_item_param_keys where key='LockedPriceCents'), now(), now(), 'false'
WHERE NOT EXISTS
( SELECT 1
FROM service_params s
WHERE s.id = '86f8c20c-071e-4715-b0c1-608f540b3be3'
);

0 comments on commit d7edb16

Please sign in to comment.