diff --git a/deployment/init-db.sh b/deployment/init-db.sh index e153a66d..3d5868d0 100644 --- a/deployment/init-db.sh +++ b/deployment/init-db.sh @@ -1,3 +1,2 @@ -export $(cat .env.prod) | xargs) go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest ~/go/bin/migrate -path ../backend/migrations/ -database postgres://${SAC_DB_USERNAME}:x@${SAC_DB_HOST}:${SAC_DB_PORT}/${SAC_DB_NAME}?sslmode=disable -verbose up \ No newline at end of file