BOD-24 WIP for document previews for non images. Random cleanup included. #comment Current design for document previews may be bandwidth intensive. Proceeding with design to get v1 completed.

This commit is contained in:
Patrick Fic
2020-03-17 16:50:21 -07:00
parent 5f7284d3a0
commit ec53663a1d
32 changed files with 491 additions and 384 deletions

View File

@@ -0,0 +1,12 @@
- args:
relationship: invoice
table:
name: documents
schema: public
type: drop_relationship
- args:
relationship: documents
table:
name: invoices
schema: public
type: drop_relationship

View File

@@ -0,0 +1,20 @@
- args:
name: invoice
table:
name: documents
schema: public
using:
foreign_key_constraint_on: invoiceid
type: create_object_relationship
- args:
name: documents
table:
name: invoices
schema: public
using:
foreign_key_constraint_on:
column: invoiceid
table:
name: documents
schema: public
type: create_array_relationship