Aded joblines status view and updated graph to use the view. BOD-110
This commit is contained in:
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1,8 @@
|
||||
- args:
|
||||
cascade: true
|
||||
read_only: false
|
||||
sql: "CREATE OR REPLACE FUNCTION public.parts_status_by_job_id(jobidvar uuid)\n
|
||||
RETURNS SETOF joblines\n LANGUAGE plpgsql\n STABLE\nAS $function$\n\nBEGIN\n
|
||||
\ \n return query select status ,count(1), part_type from joblines j where
|
||||
j.jobid =jobIdVar group by status, part_type;\n\n\n\tEND\n$function$;"
|
||||
type: run_sql
|
||||
Reference in New Issue
Block a user