Added phone number to vendor fields IO-414
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: ALTER TABLE "public"."vendors" DROP COLUMN "phone";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,5 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: ALTER TABLE "public"."vendors" ADD COLUMN "phone" text NULL;
|
||||
type: run_sql
|
||||
@@ -0,0 +1,44 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- bodyshopid
|
||||
- city
|
||||
- cost_center
|
||||
- country
|
||||
- created_at
|
||||
- discount
|
||||
- display_name
|
||||
- due_date
|
||||
- email
|
||||
- favorite
|
||||
- id
|
||||
- name
|
||||
- prompt_discount
|
||||
- state
|
||||
- street1
|
||||
- street2
|
||||
- taxid
|
||||
- terms
|
||||
- updated_at
|
||||
- zip
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,45 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- due_date
|
||||
- favorite
|
||||
- discount
|
||||
- prompt_discount
|
||||
- city
|
||||
- cost_center
|
||||
- country
|
||||
- display_name
|
||||
- email
|
||||
- name
|
||||
- phone
|
||||
- state
|
||||
- street1
|
||||
- street2
|
||||
- taxid
|
||||
- terms
|
||||
- zip
|
||||
- created_at
|
||||
- updated_at
|
||||
- bodyshopid
|
||||
- id
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,45 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- bodyshopid
|
||||
- city
|
||||
- cost_center
|
||||
- country
|
||||
- created_at
|
||||
- discount
|
||||
- display_name
|
||||
- due_date
|
||||
- email
|
||||
- favorite
|
||||
- id
|
||||
- name
|
||||
- prompt_discount
|
||||
- state
|
||||
- street1
|
||||
- street2
|
||||
- taxid
|
||||
- terms
|
||||
- updated_at
|
||||
- zip
|
||||
computed_fields: []
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,46 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- bodyshopid
|
||||
- city
|
||||
- cost_center
|
||||
- country
|
||||
- created_at
|
||||
- discount
|
||||
- display_name
|
||||
- due_date
|
||||
- email
|
||||
- favorite
|
||||
- id
|
||||
- name
|
||||
- phone
|
||||
- prompt_discount
|
||||
- state
|
||||
- street1
|
||||
- street2
|
||||
- taxid
|
||||
- terms
|
||||
- updated_at
|
||||
- zip
|
||||
computed_fields: []
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,44 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- bodyshopid
|
||||
- city
|
||||
- cost_center
|
||||
- country
|
||||
- created_at
|
||||
- discount
|
||||
- display_name
|
||||
- due_date
|
||||
- email
|
||||
- favorite
|
||||
- id
|
||||
- name
|
||||
- prompt_discount
|
||||
- state
|
||||
- street1
|
||||
- street2
|
||||
- taxid
|
||||
- terms
|
||||
- updated_at
|
||||
- zip
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,45 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- bodyshopid
|
||||
- city
|
||||
- cost_center
|
||||
- country
|
||||
- created_at
|
||||
- discount
|
||||
- display_name
|
||||
- due_date
|
||||
- email
|
||||
- favorite
|
||||
- id
|
||||
- name
|
||||
- phone
|
||||
- prompt_discount
|
||||
- state
|
||||
- street1
|
||||
- street2
|
||||
- taxid
|
||||
- terms
|
||||
- updated_at
|
||||
- zip
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: vendors
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -4066,26 +4066,27 @@ tables:
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- bodyshopid
|
||||
- due_date
|
||||
- favorite
|
||||
- discount
|
||||
- prompt_discount
|
||||
- city
|
||||
- cost_center
|
||||
- country
|
||||
- created_at
|
||||
- discount
|
||||
- display_name
|
||||
- due_date
|
||||
- email
|
||||
- favorite
|
||||
- id
|
||||
- name
|
||||
- prompt_discount
|
||||
- phone
|
||||
- state
|
||||
- street1
|
||||
- street2
|
||||
- taxid
|
||||
- terms
|
||||
- updated_at
|
||||
- zip
|
||||
- created_at
|
||||
- updated_at
|
||||
- bodyshopid
|
||||
- id
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
@@ -4102,6 +4103,7 @@ tables:
|
||||
- favorite
|
||||
- id
|
||||
- name
|
||||
- phone
|
||||
- prompt_discount
|
||||
- state
|
||||
- street1
|
||||
@@ -4135,6 +4137,7 @@ tables:
|
||||
- favorite
|
||||
- id
|
||||
- name
|
||||
- phone
|
||||
- prompt_discount
|
||||
- state
|
||||
- street1
|
||||
|
||||
Reference in New Issue
Block a user