Sankofa Prep

ampmflow

Sankofa Prep

One place for every student’s AM plan and PM dismissal plan. Today’s exceptions expire automatically, so tomorrow’s list returns to the permanent assignment.

Connect the database

Vercel has DATABASE_URL, but it cannot reach db.iardxvlhuapmlmqqrtgr.supabase.co:5432. That is the direct database host. Vercel needs the pooler URI on port 6543.

  1. In Supabase open Project Settings → Database.
  2. Under Connection string, choose URI and Transaction pooler (port 6543), not the direct connection (port 5432).
  3. Replace [YOUR-PASSWORD] with the database password. If the password has @, #, or %, encode it (@ becomes %40).
  4. In Vercel, edit DATABASE_URL for Production to that one line. It must start with postgresql:// and include pooler.supabase.com:6543.
  5. Save, Redeploy, then refresh this page.

Example shape (your real password in the middle, no brackets):
postgresql://postgres.iardxvlhuapmlmqqrtgr:PASSWORD@aws-0-us-east-1.pooler.supabase.com:6543/postgres?pgbouncer=true&sslmode=require