diff --git a/client/src/components/jobs-detail-rates/jobs-detail-rates.component.jsx b/client/src/components/jobs-detail-rates/jobs-detail-rates.component.jsx
index bff0440c0..7d62c7356 100644
--- a/client/src/components/jobs-detail-rates/jobs-detail-rates.component.jsx
+++ b/client/src/components/jobs-detail-rates/jobs-detail-rates.component.jsx
@@ -97,7 +97,7 @@ export function JobsDetailRates({ jobRO, form, job, bodyshop }) {
prev.auto_add_ats !== cur.auto_add_ats}
>
{() => {
diff --git a/hasura/migrations/1650656410107_run_sql_migration/down.sql b/hasura/migrations/1650656410107_run_sql_migration/down.sql
new file mode 100644
index 000000000..0eb55c9d8
--- /dev/null
+++ b/hasura/migrations/1650656410107_run_sql_migration/down.sql
@@ -0,0 +1,10 @@
+-- Could not auto-generate a down migration.
+-- Please write an appropriate down migration for the SQL below:
+-- 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;
diff --git a/hasura/migrations/1650656410107_run_sql_migration/up.sql b/hasura/migrations/1650656410107_run_sql_migration/up.sql
new file mode 100644
index 000000000..d7cf122ff
--- /dev/null
+++ b/hasura/migrations/1650656410107_run_sql_migration/up.sql
@@ -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;
diff --git a/hasura/migrations/1650656455358_run_sql_migration/down.sql b/hasura/migrations/1650656455358_run_sql_migration/down.sql
new file mode 100644
index 000000000..0eb55c9d8
--- /dev/null
+++ b/hasura/migrations/1650656455358_run_sql_migration/down.sql
@@ -0,0 +1,10 @@
+-- Could not auto-generate a down migration.
+-- Please write an appropriate down migration for the SQL below:
+-- 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;
diff --git a/hasura/migrations/1650656455358_run_sql_migration/up.sql b/hasura/migrations/1650656455358_run_sql_migration/up.sql
new file mode 100644
index 000000000..d7cf122ff
--- /dev/null
+++ b/hasura/migrations/1650656455358_run_sql_migration/up.sql
@@ -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;