The sections below use the SALES_DB_HOST environment variable
migrate:
export SALES_DB_HOST=localhost; go run app/tooling/sales-admin/main.go migrate
seed: migrate
export SALES_DB_HOST=localhost; go run app/tooling/sales-admin/main.go seed
The commands fail with an error:
export SALES_DB_HOST=localhost; go run app/tooling/sales-admin/main.go migrate
msg migrating database: migrate database: status check database: context deadline exceeded
exit status 1
make: *** [migrate] Error 1
The sections below use the SALES_DB_HOST environment variable
The commands fail with an error:
Сorrect variable name SALES_DB_HOST_PORT?