Skip to content

Commit

Permalink
chore: Add scriptExecution init in sql init script
Browse files Browse the repository at this point in the history
  • Loading branch information
asolovieff committed Dec 12, 2023
1 parent ab1767e commit a0a1af4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/app-server/docker/init-dev-data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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');

0 comments on commit a0a1af4

Please sign in to comment.