IO-1211 Feature Restrictions

This commit is contained in:
Patrick Fic
2021-06-23 14:15:41 -07:00
parent d634fcd4cf
commit b49555e111
19 changed files with 373 additions and 49 deletions

View File

@@ -0,0 +1,12 @@
- args:
relationship: partsOrdersByOrderedby
table:
name: users
schema: public
type: drop_relationship
- args:
relationship: userByOrderedby
table:
name: parts_orders
schema: public
type: drop_relationship

View File

@@ -0,0 +1,20 @@
- args:
name: partsOrdersByOrderedby
table:
name: users
schema: public
using:
foreign_key_constraint_on:
column: orderedby
table:
name: parts_orders
schema: public
type: create_array_relationship
- args:
name: userByOrderedby
table:
name: parts_orders
schema: public
using:
foreign_key_constraint_on: orderedby
type: create_object_relationship