diff --git a/deploy.sh b/deploy.sh index 07fcf2a..99cb9cd 100755 --- a/deploy.sh +++ b/deploy.sh @@ -60,8 +60,8 @@ PORT=$PORT ENVFILE" # ── 6. Run migrations ──────────────────────────────────────────────── -echo "→ running database migrations..." -ssh "$HOST" "cd ~/$SERVICE_DIR/server && DATABASE_URL=postgresql://localhost:5433/$DB_NAME bun drizzle-kit migrate" +echo "→ pushing database schema..." +ssh "$HOST" "cd ~/$SERVICE_DIR/server && DATABASE_URL=postgresql://localhost:5433/$DB_NAME bun drizzle-kit push --force" # ── 7. Deploy static client files ──────────────────────────────────── echo "→ deploying client static files..."