Added payments schema and connected to stripe BOD-146 BOD-147

This commit is contained in:
Patrick Fic
2020-06-05 08:20:04 -07:00
parent 90152fc613
commit 52849e1af7
37 changed files with 822 additions and 9 deletions

View File

@@ -0,0 +1,12 @@
- args:
relationship: payments
table:
name: jobs
schema: public
type: drop_relationship
- args:
relationship: job
table:
name: payments
schema: public
type: drop_relationship

View File

@@ -0,0 +1,20 @@
- args:
name: payments
table:
name: jobs
schema: public
using:
foreign_key_constraint_on:
column: jobid
table:
name: payments
schema: public
type: create_array_relationship
- args:
name: job
table:
name: payments
schema: public
using:
foreign_key_constraint_on: jobid
type: create_object_relationship