Creation of allocations object.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
- args:
|
||||
relationship: employee
|
||||
table:
|
||||
name: allocations
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: jobline
|
||||
table:
|
||||
name: allocations
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: allocations
|
||||
table:
|
||||
name: employees
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: allocations
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
@@ -0,0 +1,40 @@
|
||||
- args:
|
||||
name: employee
|
||||
table:
|
||||
name: allocations
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on: employeeid
|
||||
type: create_object_relationship
|
||||
- args:
|
||||
name: jobline
|
||||
table:
|
||||
name: allocations
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on: joblineid
|
||||
type: create_object_relationship
|
||||
- args:
|
||||
name: allocations
|
||||
table:
|
||||
name: employees
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: employeeid
|
||||
table:
|
||||
name: allocations
|
||||
schema: public
|
||||
type: create_array_relationship
|
||||
- args:
|
||||
name: allocations
|
||||
table:
|
||||
name: joblines
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: joblineid
|
||||
table:
|
||||
name: allocations
|
||||
schema: public
|
||||
type: create_array_relationship
|
||||
Reference in New Issue
Block a user