Removed references to allocations objects. Added new fields to job for employee assignment + created new component. BOD-100

This commit is contained in:
Patrick Fic
2020-07-16 13:59:27 -07:00
parent bbc0359e3a
commit fbb7bbad15
37 changed files with 2127 additions and 55 deletions

View File

@@ -0,0 +1,24 @@
- args:
relationship: employee
table:
name: jobs
schema: public
type: drop_relationship
- args:
relationship: employeeByEmployeeBody
table:
name: jobs
schema: public
type: drop_relationship
- args:
relationship: jobs
table:
name: employees
schema: public
type: drop_relationship
- args:
relationship: jobsByEmployeeRefinish
table:
name: employees
schema: public
type: drop_relationship

View File

@@ -0,0 +1,40 @@
- args:
name: employee
table:
name: jobs
schema: public
using:
foreign_key_constraint_on: employee_refinish
type: create_object_relationship
- args:
name: employeeByEmployeeBody
table:
name: jobs
schema: public
using:
foreign_key_constraint_on: employee_body
type: create_object_relationship
- args:
name: jobs
table:
name: employees
schema: public
using:
foreign_key_constraint_on:
column: employee_body
table:
name: jobs
schema: public
type: create_array_relationship
- args:
name: jobsByEmployeeRefinish
table:
name: employees
schema: public
using:
foreign_key_constraint_on:
column: employee_refinish
table:
name: jobs
schema: public
type: create_array_relationship