meridian dev provisions the database, opens a secure connection to it through the Meridian database gateway, writes DATABASE_URL into your .env, and runs your dev server, so Prisma and anything else that reads DATABASE_URL talks to 127.0.0.1 as if the database were local.
meridian db shell uses psql, and snapshots and restores use pg_dump and psql, when they are on your PATH. The CLI connects to your developer database itself, with a certificate issued for you alone.
The commands
Every command also accepts the global flags (
--json, --yes, --cwd and the rest) before or after the command name.
Developer databases are separate from your hosted environments’ databases, and a developer database is never shared with a teammate, not even for an organization owner. The number of developer databases is a plan meter, visible with your other allowances in Billing. It is counted per developer, so every collaborator on an app can provision their own.