Migrations for invoices and invoice lines. Added invoice enter modal.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
- args:
|
||||
relationship: job
|
||||
table:
|
||||
name: invoices
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: vendor
|
||||
table:
|
||||
name: invoices
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: invoice
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: invoices
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
@@ -0,0 +1,41 @@
|
||||
- args:
|
||||
name: job
|
||||
table:
|
||||
name: invoices
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on: jobid
|
||||
type: create_object_relationship
|
||||
- args:
|
||||
name: vendor
|
||||
table:
|
||||
name: invoices
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on: vendorid
|
||||
type: create_object_relationship
|
||||
- args:
|
||||
name: invoice
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
using:
|
||||
manual_configuration:
|
||||
column_mapping:
|
||||
id: jobid
|
||||
remote_table:
|
||||
name: invoices
|
||||
schema: public
|
||||
type: create_object_relationship
|
||||
- args:
|
||||
name: invoices
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: vendorid
|
||||
table:
|
||||
name: invoices
|
||||
schema: public
|
||||
type: create_array_relationship
|
||||
Reference in New Issue
Block a user