Operations
PostgreSQL (control plane)
Migrations, bootstrap, and schema central for the app database.
Standard migrate
npx prisma migrate deployRun prisma/postgres-grants.sql as superuser if the app role cannot CREATE on public.
Restricted public schema
When prisma migrate deploy fails with migration persistence errors:
# Use schema=central in DATABASE_URL when supported
npm run db:bootstrap
npm run db:apply-patches
npm run db:verifyVerify
npm run db:verifyChecks connectivity and that the user table exists in schema central (or public).