From 4cfff0eaa5406647d4a008d8e437f7183164141b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20F=C3=B6rtsch?= Date: Thu, 12 Mar 2026 21:12:00 +0100 Subject: [PATCH] switch deploy from drizzle-kit migrate to push --force Co-Authored-By: Claude Opus 4.6 --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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..."