Added revised hasura entries due to display name issues not being in production.
This commit is contained in:
@@ -12,7 +12,7 @@ To Start Hasura CLI:
|
|||||||
npx hasura console --admin-secret Dev-BodyShopAppBySnaptSoftware!
|
npx hasura console --admin-secret Dev-BodyShopAppBySnaptSoftware!
|
||||||
|
|
||||||
Migrating to Staging:
|
Migrating to Staging:
|
||||||
npx hasura migrate apply --up 10 --endpoint https://bodyshop-staging-db.herokuapp.com/ --admin-secret Staging-BodyShopAppBySnaptSoftware!
|
npx hasura migrate apply --up 10 --endpoint https://db.imex.online/ --admin-secret Production-ImEXOnlineBySnaptSoftware!
|
||||||
|
|
||||||
NGROK TEsting:
|
NGROK TEsting:
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -23,7 +23,6 @@
|
|||||||
- city
|
- city
|
||||||
- cost_center
|
- cost_center
|
||||||
- country
|
- country
|
||||||
- display_name
|
|
||||||
- email
|
- email
|
||||||
- name
|
- name
|
||||||
- phone
|
- phone
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
- country
|
- country
|
||||||
- created_at
|
- created_at
|
||||||
- discount
|
- discount
|
||||||
- display_name
|
|
||||||
- due_date
|
- due_date
|
||||||
- email
|
- email
|
||||||
- favorite
|
- favorite
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
- country
|
- country
|
||||||
- created_at
|
- created_at
|
||||||
- discount
|
- discount
|
||||||
- display_name
|
|
||||||
- due_date
|
- due_date
|
||||||
- email
|
- email
|
||||||
- favorite
|
- favorite
|
||||||
|
|||||||
@@ -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,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
|
||||||
|
- due_date
|
||||||
|
- email
|
||||||
|
- favorite
|
||||||
|
- id
|
||||||
|
- name
|
||||||
|
- phone
|
||||||
|
- 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,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,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
|
||||||
|
- 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,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
|
||||||
@@ -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
|
||||||
|
- 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,27 +4066,26 @@ tables:
|
|||||||
- active:
|
- active:
|
||||||
_eq: true
|
_eq: true
|
||||||
columns:
|
columns:
|
||||||
- due_date
|
- bodyshopid
|
||||||
- favorite
|
|
||||||
- discount
|
|
||||||
- prompt_discount
|
|
||||||
- city
|
- city
|
||||||
- cost_center
|
- cost_center
|
||||||
- country
|
- country
|
||||||
- display_name
|
- created_at
|
||||||
|
- discount
|
||||||
|
- due_date
|
||||||
- email
|
- email
|
||||||
|
- favorite
|
||||||
|
- id
|
||||||
- name
|
- name
|
||||||
- phone
|
- phone
|
||||||
|
- prompt_discount
|
||||||
- state
|
- state
|
||||||
- street1
|
- street1
|
||||||
- street2
|
- street2
|
||||||
- taxid
|
- taxid
|
||||||
- terms
|
- terms
|
||||||
- zip
|
|
||||||
- created_at
|
|
||||||
- updated_at
|
- updated_at
|
||||||
- bodyshopid
|
- zip
|
||||||
- id
|
|
||||||
select_permissions:
|
select_permissions:
|
||||||
- role: user
|
- role: user
|
||||||
permission:
|
permission:
|
||||||
@@ -4097,7 +4096,6 @@ tables:
|
|||||||
- country
|
- country
|
||||||
- created_at
|
- created_at
|
||||||
- discount
|
- discount
|
||||||
- display_name
|
|
||||||
- due_date
|
- due_date
|
||||||
- email
|
- email
|
||||||
- favorite
|
- favorite
|
||||||
@@ -4131,7 +4129,6 @@ tables:
|
|||||||
- country
|
- country
|
||||||
- created_at
|
- created_at
|
||||||
- discount
|
- discount
|
||||||
- display_name
|
|
||||||
- due_date
|
- due_date
|
||||||
- email
|
- email
|
||||||
- favorite
|
- favorite
|
||||||
|
|||||||
Reference in New Issue
Block a user