Baseline Schema changes.
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
- args:
|
||||
relationship: userByUser
|
||||
table:
|
||||
name: associations
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: bodyshopByBodyshop
|
||||
table:
|
||||
name: associations
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: associations
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: estimates
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: estimate
|
||||
table:
|
||||
name: estimatelines
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: bodyshop
|
||||
table:
|
||||
name: estimates
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: estimatelines
|
||||
table:
|
||||
name: estimates
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
- args:
|
||||
relationship: associations
|
||||
table:
|
||||
name: users
|
||||
schema: public
|
||||
type: drop_relationship
|
||||
@@ -0,0 +1,80 @@
|
||||
- args:
|
||||
name: userByUser
|
||||
table:
|
||||
name: associations
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on: user
|
||||
type: create_object_relationship
|
||||
- args:
|
||||
name: bodyshopByBodyshop
|
||||
table:
|
||||
name: associations
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on: bodyshop
|
||||
type: create_object_relationship
|
||||
- args:
|
||||
name: associations
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: bodyshop
|
||||
table:
|
||||
name: associations
|
||||
schema: public
|
||||
type: create_array_relationship
|
||||
- args:
|
||||
name: estimates
|
||||
table:
|
||||
name: bodyshops
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: shopid
|
||||
table:
|
||||
name: estimates
|
||||
schema: public
|
||||
type: create_array_relationship
|
||||
- args:
|
||||
name: estimate
|
||||
table:
|
||||
name: estimatelines
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on: estimate_id
|
||||
type: create_object_relationship
|
||||
- args:
|
||||
name: bodyshop
|
||||
table:
|
||||
name: estimates
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on: shopid
|
||||
type: create_object_relationship
|
||||
- args:
|
||||
name: estimatelines
|
||||
table:
|
||||
name: estimates
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: estimate_id
|
||||
table:
|
||||
name: estimatelines
|
||||
schema: public
|
||||
type: create_array_relationship
|
||||
- args:
|
||||
name: associations
|
||||
table:
|
||||
name: users
|
||||
schema: public
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: user
|
||||
table:
|
||||
name: associations
|
||||
schema: public
|
||||
type: create_array_relationship
|
||||
Reference in New Issue
Block a user