Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
DO $$
DECLARE
-- Retrieve NICE body uuid
NiceBodyUuid "Body"."BodyId"%TYPE := (SELECT "BodyId" FROM "Body" WHERE "TdrCode" = 'TDR-NICE');
BEGIN
-- Use the returned NiceBodyUuid value for the series insert
INSERT INTO "Series" ("SeriesId", "BodyId", "Code", "Name", "Description") VALUES
(uuid_generate_v4(), NiceBodyUuid, 'JA 1419', 'JA 1419', 'JA 1419'),
(uuid_generate_v4(), NiceBodyUuid, 'JA 1420', 'JA 1420', 'JA 1420');

END $$;

--commit changes
COMMIT;
Loading