Migrations for invoices and invoice lines. Added invoice enter modal.

This commit is contained in:
Patrick Fic
2020-02-24 17:09:17 -08:00
parent 13faf47044
commit f70627b5da
31 changed files with 730 additions and 23 deletions

View File

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

View File

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