Mark cost center not required.

This commit is contained in:
Patrick Fic
2021-05-11 15:11:49 -07:00
parent 85c577b979
commit 28b648f474
3 changed files with 12 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ npx hasura console --admin-secret Dev-BodyShopAppBySnaptSoftware!
Migrating to Staging:
npx hasura migrate apply --endpoint https://db.imex.online/ --admin-secret 'Production-ImEXOnline!@#'
npx hasura migrate apply --version "1620770615633" --skip-execution --endpoint https://db.test.bodyshop.app/ --admin-secret 'Test-ImEXOnlineBySnaptSoftware!'
NGROK TEsting:
./ngrok.exe http http://localhost:5000 -host-header="localhost:5000"

View File

@@ -0,0 +1,5 @@
- args:
cascade: false
read_only: false
sql: ALTER TABLE "public"."vendors" ALTER COLUMN "cost_center" SET NOT NULL;
type: run_sql

View File

@@ -0,0 +1,5 @@
- args:
cascade: false
read_only: false
sql: ALTER TABLE "public"."vendors" ALTER COLUMN "cost_center" DROP NOT NULL;
type: run_sql