IO-924 Phonebook Migrations
This commit is contained in:
@@ -719,6 +719,13 @@ tables:
|
||||
table:
|
||||
schema: public
|
||||
name: owners
|
||||
- name: phonebooks
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: bodyshopid
|
||||
table:
|
||||
schema: public
|
||||
name: phonebook
|
||||
- name: timetickets
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
@@ -3777,6 +3784,108 @@ tables:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
- table:
|
||||
schema: public
|
||||
name: phonebook
|
||||
object_relationships:
|
||||
- name: bodyshop
|
||||
using:
|
||||
foreign_key_constraint_on: bodyshopid
|
||||
insert_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- id
|
||||
- created_at
|
||||
- updated_at
|
||||
- bodyshopid
|
||||
- firstname
|
||||
- lastname
|
||||
- phone1
|
||||
- email
|
||||
- address1
|
||||
- address2
|
||||
- city
|
||||
- state
|
||||
- zip
|
||||
- country
|
||||
- company
|
||||
- phone2
|
||||
- fax
|
||||
- category
|
||||
backend_only: false
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- address1
|
||||
- address2
|
||||
- category
|
||||
- city
|
||||
- company
|
||||
- country
|
||||
- email
|
||||
- fax
|
||||
- firstname
|
||||
- lastname
|
||||
- phone1
|
||||
- phone2
|
||||
- state
|
||||
- zip
|
||||
- created_at
|
||||
- updated_at
|
||||
- bodyshopid
|
||||
- id
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
update_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- address1
|
||||
- address2
|
||||
- category
|
||||
- city
|
||||
- company
|
||||
- country
|
||||
- email
|
||||
- fax
|
||||
- firstname
|
||||
- lastname
|
||||
- phone1
|
||||
- phone2
|
||||
- state
|
||||
- zip
|
||||
- created_at
|
||||
- updated_at
|
||||
- bodyshopid
|
||||
- id
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
check: null
|
||||
- table:
|
||||
schema: public
|
||||
name: scoreboard
|
||||
@@ -4349,6 +4458,9 @@ functions:
|
||||
- function:
|
||||
schema: public
|
||||
name: search_payments
|
||||
- function:
|
||||
schema: public
|
||||
name: search_phonebook
|
||||
- function:
|
||||
schema: public
|
||||
name: search_vehicles
|
||||
|
||||
Reference in New Issue
Block a user