Merge branch 'release/2023-06-09' into feature/IO-2278-parts-dispatching
This commit is contained in:
@@ -4577,6 +4577,81 @@
|
|||||||
- name: job
|
- name: job
|
||||||
using:
|
using:
|
||||||
foreign_key_constraint_on: jobid
|
foreign_key_constraint_on: jobid
|
||||||
|
array_relationships:
|
||||||
|
- name: parts_dispatch_lines
|
||||||
|
using:
|
||||||
|
foreign_key_constraint_on:
|
||||||
|
column: partsdispatchid
|
||||||
|
table:
|
||||||
|
name: parts_dispatch_lines
|
||||||
|
schema: public
|
||||||
|
insert_permissions:
|
||||||
|
- role: user
|
||||||
|
permission:
|
||||||
|
check:
|
||||||
|
job:
|
||||||
|
bodyshop:
|
||||||
|
associations:
|
||||||
|
_and:
|
||||||
|
- user:
|
||||||
|
authid:
|
||||||
|
_eq: X-Hasura-User-Id
|
||||||
|
- active:
|
||||||
|
_eq: true
|
||||||
|
columns:
|
||||||
|
- id
|
||||||
|
- created_at
|
||||||
|
- updated_at
|
||||||
|
- jobid
|
||||||
|
- number
|
||||||
|
- employeeid
|
||||||
|
- dispatched_at
|
||||||
|
- dispatched_by
|
||||||
|
select_permissions:
|
||||||
|
- role: user
|
||||||
|
permission:
|
||||||
|
columns:
|
||||||
|
- number
|
||||||
|
- dispatched_by
|
||||||
|
- created_at
|
||||||
|
- dispatched_at
|
||||||
|
- updated_at
|
||||||
|
- employeeid
|
||||||
|
- id
|
||||||
|
- jobid
|
||||||
|
filter:
|
||||||
|
job:
|
||||||
|
bodyshop:
|
||||||
|
associations:
|
||||||
|
_and:
|
||||||
|
- user:
|
||||||
|
authid:
|
||||||
|
_eq: X-Hasura-User-Id
|
||||||
|
- active:
|
||||||
|
_eq: true
|
||||||
|
update_permissions:
|
||||||
|
- role: user
|
||||||
|
permission:
|
||||||
|
columns:
|
||||||
|
- number
|
||||||
|
- dispatched_by
|
||||||
|
- created_at
|
||||||
|
- dispatched_at
|
||||||
|
- updated_at
|
||||||
|
- employeeid
|
||||||
|
- id
|
||||||
|
- jobid
|
||||||
|
filter:
|
||||||
|
job:
|
||||||
|
bodyshop:
|
||||||
|
associations:
|
||||||
|
_and:
|
||||||
|
- user:
|
||||||
|
authid:
|
||||||
|
_eq: X-Hasura-User-Id
|
||||||
|
- active:
|
||||||
|
_eq: true
|
||||||
|
check: null
|
||||||
- table:
|
- table:
|
||||||
name: parts_dispatch_lines
|
name: parts_dispatch_lines
|
||||||
schema: public
|
schema: public
|
||||||
@@ -4584,6 +4659,9 @@
|
|||||||
- name: jobline
|
- name: jobline
|
||||||
using:
|
using:
|
||||||
foreign_key_constraint_on: joblineid
|
foreign_key_constraint_on: joblineid
|
||||||
|
- name: parts_dispatch
|
||||||
|
using:
|
||||||
|
foreign_key_constraint_on: partsdispatchid
|
||||||
- table:
|
- table:
|
||||||
name: parts_order_lines
|
name: parts_order_lines
|
||||||
schema: public
|
schema: public
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
alter table "public"."parts_dispatch_lines" drop constraint "parts_dispatch_lines_partsdispatchid_fkey";
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
alter table "public"."parts_dispatch_lines"
|
||||||
|
add constraint "parts_dispatch_lines_partsdispatchid_fkey"
|
||||||
|
foreign key ("partsdispatchid")
|
||||||
|
references "public"."parts_dispatch"
|
||||||
|
("id") on update cascade on delete cascade;
|
||||||
Reference in New Issue
Block a user