Added database changes and faced issues with permissions. Added shop query.

This commit is contained in:
Patrick Fic
2019-12-10 17:00:54 -08:00
parent 16160c0793
commit 7709f42a31
60 changed files with 1511 additions and 5117 deletions

View File

@@ -0,0 +1,40 @@
- args:
name: vehicle
table:
name: jobs
schema: public
using:
foreign_key_constraint_on: vehicleid
type: create_object_relationship
- args:
name: owner
table:
name: jobs
schema: public
using:
foreign_key_constraint_on: ownerid
type: create_object_relationship
- args:
name: jobs
table:
name: owners
schema: public
using:
foreign_key_constraint_on:
column: ownerid
table:
name: jobs
schema: public
type: create_array_relationship
- args:
name: jobs
table:
name: vehicles
schema: public
using:
foreign_key_constraint_on:
column: vehicleid
table:
name: jobs
schema: public
type: create_array_relationship