Removed productionview view from Hasura and replaced with standard GQL queries. BOD-243

This commit is contained in:
Patrick Fic
2020-08-03 13:43:39 -07:00
parent 3a8b4ddf5a
commit 75b1ed44e8
8 changed files with 68 additions and 135 deletions

View File

@@ -0,0 +1,5 @@
- args:
cascade: false
read_only: false
sql: DROP VIEW "public"."productionview";
type: run_sql

View File

@@ -3421,73 +3421,6 @@ tables:
_eq: X-Hasura-User-Id
- active:
_eq: true
- table:
schema: public
name: productionview
object_relationships:
- name: bodyshop
using:
manual_configuration:
remote_table:
schema: public
name: bodyshops
column_mapping:
shopid: id
- name: employee_body_rel
using:
manual_configuration:
remote_table:
schema: public
name: employees
column_mapping:
employee_body: id
- name: employee_refinish_rel
using:
manual_configuration:
remote_table:
schema: public
name: employees
column_mapping:
employee_refinish: id
select_permissions:
- role: user
permission:
columns:
- id
- status
- ro_number
- est_number
- ownr_fn
- ownr_ln
- v_model_yr
- v_model_desc
- clm_no
- v_make_desc
- v_color
- plate_no
- actual_in
- scheduled_completion
- scheduled_delivery
- ins_co_nm
- clm_total
- ownr_ph1
- special_coverage_policy
- production_vars
- labhrs
- larhrs
- shopid
- partcount
- kanbanparent
filter:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
allow_aggregations: true
- table:
schema: public
name: scoreboard