feat: update database connection string and add migration notes for Hyperdrive
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user