From a0a1af4d1db3e425ab02f26674f7fc59a3b738f5 Mon Sep 17 00:00:00 2001 From: asolovieff Date: Tue, 12 Dec 2023 17:23:54 +0100 Subject: [PATCH] chore: Add scriptExecution init in sql init script --- modules/app-server/docker/init-dev-data.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/app-server/docker/init-dev-data.sql b/modules/app-server/docker/init-dev-data.sql index d6290982..50372dab 100644 --- a/modules/app-server/docker/init-dev-data.sql +++ b/modules/app-server/docker/init-dev-data.sql @@ -28,3 +28,6 @@ INSERT INTO public.dm_script (name, checksum, content) VALUES ('v1_script2', '07 INSERT INTO public.dm_script (name, checksum, content) VALUES ('v1_script3', '927fd8d7-280f-490e-bf57-295df4250561', 'println("Script3")'); INSERT INTO public.dm_batch_execution (id, start_date, end_date, origin, type, status, fk_environment_ref, fk_module_ref) VALUES ('fc1a6237-2517-4efb-ad2d-bfa8614c07a9', '2023-10-12 11:00:00', '2023-10-12 11:01:00', 'SERVER', 'ON_DEMAND', 'COMPLETED', '109a2c08-e836-451a-86ef-d67be8ffc648', 'a78e96a7-6748-4f01-9691-ea3bf851ad43'); + +INSERT INTO public.dm_script_execution (id, start_date, end_date, execution_order_index, output, status, fk_script_ref, fk_batch_execution_ref) VALUES ('a11b123b-1a5e-42e1-b64b-ec4d5d7427a9', '2023-10-12 11:00:00', '2023-10-12 11:00:30', 0, 'OUTPUT 1', 'COMPLETED', 'ba8d3396-2787-41b2-a24b-6779ed31d341', 'fc1a6237-2517-4efb-ad2d-bfa8614c07a9'); +INSERT INTO public.dm_script_execution (id, start_date, end_date, execution_order_index, output, status, fk_script_ref, fk_batch_execution_ref) VALUES ('43fbc10d-71de-4780-abb1-c25305d9f8d6', '2023-10-12 11:00:30', '2023-10-12 11:01:00', 1, 'OUTPUT 2', 'COMPLETED', '07c39e3e-9d1a-4b08-85d7-230e195fcf11', 'fc1a6237-2517-4efb-ad2d-bfa8614c07a9');