Files
bodyshop/hasura/migrations/1626970851371_track_all_relationships/up.yaml
2021-07-22 16:29:41 -07:00

41 lines
826 B
YAML

- args:
name: audit_trails
table:
name: jobs
schema: public
using:
foreign_key_constraint_on:
column: jobid
table:
name: audit_trail
schema: public
type: create_array_relationship
- args:
name: audit_trails
table:
name: bills
schema: public
using:
foreign_key_constraint_on:
column: billid
table:
name: audit_trail
schema: public
type: create_array_relationship
- args:
name: job
table:
name: audit_trail
schema: public
using:
foreign_key_constraint_on: jobid
type: create_object_relationship
- args:
name: bill
table:
name: audit_trail
schema: public
using:
foreign_key_constraint_on: billid
type: create_object_relationship