Skip to content

Setup: accept Supabase's new [YOUR-DATABASE-PASSWORD] placeholder - #14

Open
lophas wants to merge 1 commit into
nextwork-projects:mainfrom
lophas:fix-db-password-placeholder
Open

lophas wants to merge 1 commit into
nextwork-projects:mainfrom
lophas:fix-db-password-placeholder

Conversation

@lophas

@lophas lophas commented Nov 28, 2026

Copy link
Copy Markdown

Supabase's Connect dialog now shows the Session pooler string with [YOUR-DATABASE-PASSWORD] instead of [YOUR-PASSWORD]:

postgresql://postgres.<ref>:[YOUR-DATABASE-PASSWORD]@aws-1-eu-west-1.pooler.supabase.com:5432/postgres

Setup only replaced [YOUR-PASSWORD], so the password typed in the box was ignored, the placeholder itself was saved as the password, and step 2 failed with "The database password in SUPABASE_DB_URL is wrong."

This accepts both placeholders everywhere the old one was checked (envfile.ts validate and isPlaceholder, migrate.ts, the middleware and start.mjs), with a test in envfile.test.ts.

Checked: node src/lib/envfile.test.ts, npx tsc --noEmit, and a real setup against a new Supabase project (step 2 went through, 31 migrations applied).

🤖 Generated with Claude Code

Supabase's Connect dialog now writes [YOUR-DATABASE-PASSWORD] instead of
[YOUR-PASSWORD], so the password box was ignored and the placeholder
itself became the password.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant