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. Drizzle connects with nothing pasted by hand, and your migrations run as part of the deploy.
How it works
How to use Drizzle on PrimDB
A managed Postgres that Drizzle connects to out of the box.
Provision Postgres
Create a managed Postgres in seconds. The connection string is injected into your environment and encrypted at rest.
Point Drizzle at it
Drizzle reads the injected database URL like any other Postgres connection. Your schema and client stay as they are.
Run migrations in your deploy
Run drizzle-kit migrations in your build or release step. Schema changes then ship with the code that needs them.
Branch data for previews
Preview environments can branch data, so a Drizzle migration meets a preview before it ever meets production.
One platform
What Drizzle gets for free here
The Postgres connection string is injected automatically. There is no secret to shuttle between a database vendor and your app.
Migrations run in the same deploy that ships the code, which keeps a schema change and its rollout on one timeline.
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; your Drizzle schema and migration setup stay yours. The docs cover how to run migration steps inside 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 already wired in. Free to start, no card.