switch deploy from drizzle-kit migrate to push --force
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user