IO-1477 Update to joblines_status view.
This commit is contained in:
8
hasura/migrations/1650656455358_run_sql_migration/up.sql
Normal file
8
hasura/migrations/1650656455358_run_sql_migration/up.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE OR REPLACE VIEW "public"."joblines_status" AS
|
||||
SELECT j.jobid,
|
||||
j.status,
|
||||
count(1) AS count,
|
||||
j.part_type
|
||||
FROM joblines j
|
||||
WHERE ((j.part_type IS NOT NULL) AND (j.part_type <> 'PAE'::text) AND (j.removed IS false))
|
||||
GROUP BY j.jobid, j.status, j.part_type;
|
||||
Reference in New Issue
Block a user