Migrate Prisma to Drizzle ORM in one command
SchemaForge is an open-source ORM schema converter. It converts between 11 formats, including Prisma and Drizzle, with zero-loss roundtripping.
One-line conversion
Run this from a repo that already has schemaforge installed:
pip install git+https://github.com/Coding-Dev-Tools/schemaforge.git schemaforge convert --from prisma --to drizzle --input schema.prisma
Note: as of this writing, SchemaForge is not published on public PyPI. The working install path is git+https://github.com/Coding-Dev-Tools/schemaforge.git.
What you get
- Drizzle schema output with the same table/column/relation definitions from your Prisma file.
- Preserved types, enums, and defaults where the formats overlap.
- Same IR guarantees other conversions benefit from: zero-loss roundtrips, configurable type maps, and a
diffcommand for schema drift.
11 formats, one tool
Prisma and Drizzle are two endpoints in the same converter. SchemaForge also handles SQL DDL, TypeORM, Django, SQLAlchemy, Alembic, JSON Schema, GraphQL SDL, EF Core (C#), and Scala case classes.
SchemaForge at a glance
| Format | Import | Export | Roundtrip |
|---|---|---|---|
| SQL DDL | ✓ | ✓ | ✓ |
| Prisma schema | ✓ | ✓ | ✓ |
| Drizzle schema | ✓ | ✓ | ✓ |
| TypeORM entities | ✓ | ✓ | ✓ |
| Django models | ✓ | ✓ | ✓ |
| SQLAlchemy models | ✓ | ✓ | ✓ |
| Alembic migrations | — | ✓ | — |
| JSON Schema | ✓ | ✓ | ✓ |
| GraphQL SDL | ✓ | ✓ | ✓ |
| EF Core (C#) | ✓ | ✓ | ✓ |
| Scala case class | ✓ | ✓ | ✓ |
Pricing
| Plan | Price | Best for |
|---|---|---|
| Free | $0 | CLI only, individual/OSS use, rate-limited batch |
| Individual | $15/mo ($12/yr) | Unlimited conversions, batch mode, custom type maps |
| Suite (all 11 tools) | $49/mo ($39/yr) | Full Revenue Holdings toolkit |
| Team | $79/mo ($63/yr) | Up to 5 devs, shared schemas, dashboard |
Paid features used by this flow
This guide assumes Individual tier or higher. The free tier supports CLI conversions, but batch mode and some advanced integrations like the VS Code extension and MCP server are better served by paid plans.