BOD-16 Courtesy Car Schema Changes

This commit is contained in:
Patrick Fic
2020-03-30 12:06:51 -07:00
parent b7dceae83f
commit 1249fd5b2c
26 changed files with 543 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
- args:
relationship: courtesycars
table:
name: bodyshops
schema: public
type: drop_relationship
- args:
relationship: bodyshop
table:
name: courtesycars
schema: public
type: drop_relationship

View File

@@ -0,0 +1,20 @@
- args:
name: courtesycars
table:
name: bodyshops
schema: public
using:
foreign_key_constraint_on:
column: bodyshopid
table:
name: courtesycars
schema: public
type: create_array_relationship
- args:
name: bodyshop
table:
name: courtesycars
schema: public
using:
foreign_key_constraint_on: bodyshopid
type: create_object_relationship