IO-992 Job Audit Logs
This commit is contained in:
@@ -226,12 +226,41 @@ tables:
|
||||
schema: public
|
||||
name: audit_trail
|
||||
object_relationships:
|
||||
- name: bill
|
||||
using:
|
||||
foreign_key_constraint_on: billid
|
||||
- name: bodyshop
|
||||
using:
|
||||
foreign_key_constraint_on: bodyshopid
|
||||
- name: job
|
||||
using:
|
||||
foreign_key_constraint_on: jobid
|
||||
- name: user
|
||||
using:
|
||||
foreign_key_constraint_on: useremail
|
||||
insert_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- id
|
||||
- created
|
||||
- operation
|
||||
- new_val
|
||||
- old_val
|
||||
- useremail
|
||||
- bodyshopid
|
||||
- jobid
|
||||
- billid
|
||||
backend_only: false
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
@@ -240,12 +269,11 @@ tables:
|
||||
- new_val
|
||||
- old_val
|
||||
- operation
|
||||
- schemaname
|
||||
- tabname
|
||||
- useremail
|
||||
- created
|
||||
- billid
|
||||
- bodyshopid
|
||||
- recordid
|
||||
- jobid
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
@@ -480,6 +508,13 @@ tables:
|
||||
using:
|
||||
foreign_key_constraint_on: vendorid
|
||||
array_relationships:
|
||||
- name: audit_trails
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: billid
|
||||
table:
|
||||
schema: public
|
||||
name: audit_trail
|
||||
- name: billlines
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
@@ -2248,6 +2283,13 @@ tables:
|
||||
table:
|
||||
schema: public
|
||||
name: appointments
|
||||
- name: audit_trails
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: jobid
|
||||
table:
|
||||
schema: public
|
||||
name: audit_trail
|
||||
- name: available_jobs
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
|
||||
Reference in New Issue
Block a user