BOD-14 Schema Changes for messaging

This commit is contained in:
Patrick Fic
2020-03-25 09:35:02 -07:00
parent 1409ef058c
commit 5b5ffe21cd
34 changed files with 552 additions and 0 deletions

View File

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

View File

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