Stack · Drizzle ORM

Run Drizzle ORM on a managed Postgres, wired in for you

PrimDB provisions a managed Postgres and injects the connection string into your app, so Drizzle connects with no copy-paste. Run your queries and migrations as part of your deploy.

How it works

How to use Drizzle on PrimDB

A managed Postgres that Drizzle connects to out of the box.

  1. Provision Postgres

    Create a managed Postgres in seconds. The connection string is injected into your environment, encrypted at rest.

  2. Point Drizzle at it

    Drizzle reads the injected database URL like any Postgres connection, so your schema and client work unchanged.

  3. Run migrations in your deploy

    Run drizzle-kit migrations as part of your build or release step, so schema changes ship with the code that needs them.

  4. Branch data for previews

    Preview environments can branch data, so a Drizzle migration is tested against a preview before it touches production.

One platform

How Drizzle fits the one platform

  1. The Postgres connection string is injected automatically, so there is no secret to copy between a database vendor and your app.

  2. Schema changes and their rollout happen together, because migrations run in the same deploy that ships the code.

  3. An agent can run a migration and read the result over the same MCP endpoint that deploys the app.

Honest note. Drizzle is a third-party ORM. PrimDB provides the managed Postgres and the injected connection string; you own your Drizzle schema and migration setup. Check the docs for how to run migration steps in a deploy.

FAQ

Questions, answered

Does Drizzle work with PrimDB Postgres?
Yes. PrimDB gives you a standard managed Postgres and injects the connection string into your app, so Drizzle connects like it would to any Postgres. You run your schema and migrations as normal.
Where do I run Drizzle migrations?
Run drizzle-kit migrations as part of your build or release step so schema changes ship with the code. See the PrimDB docs for how to wire a migration step into a deploy.

Give Drizzle a managed Postgres to talk to.

A managed Postgres with the connection wired in. Actually free to start, no credit card.