From c9d30ac1982359e523a967d841c889669adedbdb Mon Sep 17 00:00:00 2001 From: imeepos Date: Sun, 12 Jul 2026 20:54:59 -0700 Subject: [PATCH] feat: update database connection string and add migration notes for Hyperdrive --- server/wrangler.jsonc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/wrangler.jsonc b/server/wrangler.jsonc index 5a97309b9..b47765bbc 100644 --- a/server/wrangler.jsonc +++ b/server/wrangler.jsonc @@ -23,10 +23,12 @@ }, // Cloudflare Hyperdrive proxies the Postgres connection for the Worker. // `env.HYPERDRIVE.connectionString` is passed to postgres.js in initDrizzle.ts. + // 2026-07-12: migrated prod off AlloyDB (34.21.187.198, PG18) to Volcengine PG17 + // (cp-droll-tide-f46bb1fd). See docs/postgres-database-migration-runbook.md. "hyperdrive": [ { "binding": "HYPERDRIVE", - "id": "9f952eb0603044d4beb78e634fe503bc" + "id": "18ef808566e64baea3935688555fd6fe" } ], "kv_namespaces": [ @@ -157,7 +159,7 @@ "CLOUDFLARE_ACCOUNT_ID": "67720b647ff2b55cf37ba3ef9e677083", "CLOUDFLARE_API_TOKEN": "dlGquMNiAX-S7SV9pXne7YGfdH_fEgq3TfIGgNcQ", "CRON": "false", - "DATABASE_URL": "postgresql://postgres:dJh0q4aaUb^PH3@34.21.187.198:5432/postgres", + "DATABASE_URL": "postgresql://postgres:7vPR9ADqZxoZr4@cp-droll-tide-f46bb1fd.pg.aidap-global.ap-southeast-1.volces.com/autumn?sslmode=require&channel_binding=require", "DISABLE_CORS_CHECK": "true", "DISABLE_CRON": "false", "DISCORD_FEEDBACK_WEBHOOK": "http://localhost:8080/webhooks/discord-feedback",