diff --git a/deployment/init-db.sh b/deployment/init-db.sh index 8f958fa4..cee722eb 100644 --- a/deployment/init-db.sh +++ b/deployment/init-db.sh @@ -1,2 +1,2 @@ go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest -migrate -path ../backend/migrations/ -database postgres://${SAC_DB_USERNAME}:${SAC_DB_PASSWORD}@${SAC_DB_HOST}:${SAC_DB_PORT}/${SAC_DB_NAME}?sslmode=disable -verbose up \ No newline at end of file +~/go/bin/migrate -path ../backend/migrations/ -database postgres://${SAC_DB_USERNAME}:${SAC_DB_PASSWORD}@${SAC_DB_HOST}:${SAC_DB_PORT}/${SAC_DB_NAME}?sslmode=disable -verbose up \ No newline at end of file