Files
bodyshop/hasura/migrations/1618965201750_track_all_relationships/up.yaml
2021-04-21 12:08:32 -07:00

81 lines
1.6 KiB
YAML

- args:
name: exportlogs
table:
name: users
schema: public
using:
foreign_key_constraint_on:
column: useremail
table:
name: exportlog
schema: public
type: create_array_relationship
- args:
name: exportlogs
table:
name: jobs
schema: public
using:
foreign_key_constraint_on:
column: jobid
table:
name: exportlog
schema: public
type: create_array_relationship
- args:
name: exportlogs
table:
name: bills
schema: public
using:
foreign_key_constraint_on:
column: billid
table:
name: exportlog
schema: public
type: create_array_relationship
- args:
name: exportlogs
table:
name: payments
schema: public
using:
foreign_key_constraint_on:
column: paymentid
table:
name: exportlog
schema: public
type: create_array_relationship
- args:
name: payment
table:
name: exportlog
schema: public
using:
foreign_key_constraint_on: paymentid
type: create_object_relationship
- args:
name: user
table:
name: exportlog
schema: public
using:
foreign_key_constraint_on: useremail
type: create_object_relationship
- args:
name: job
table:
name: exportlog
schema: public
using:
foreign_key_constraint_on: jobid
type: create_object_relationship
- args:
name: bill
table:
name: exportlog
schema: public
using:
foreign_key_constraint_on: billid
type: create_object_relationship