drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
23.51k stars 576 forks source link

Prisma migration guide #526

Closed jakeleventhal closed 4 months ago

jakeleventhal commented 1 year ago

There ought to be a Prisma migration guide and/or codemod to assist with this. Pretty difficult to adopt drizzle in a large production-used repo.

Piecemeal migration strategies would go a long way too.

iukea1 commented 1 year ago

Also would be interested in this

navid-asgharzadeh commented 1 year ago

Me too. I have a big production codebase on top of Prisma and I would like to migrate to Drizzle

yasseralsaidi commented 1 year ago

yes we want!

nkilm commented 1 year ago

Looking forward to the migration guide!

Angelelz commented 10 months ago

There are some suggestions in this article that might be helpful to somebody. https://medium.com/@angellopez20/how-i-migrated-from-prisma-to-drizzleorm-with-absolutely-no-hassle-and-zero-downtime-9f5f0881fc04

Angelelz commented 10 months ago

Here is another interesting read. https://github.com/drizzle-team/drizzle-orm/issues/1434

hilja commented 8 months ago

There is https://github.com/farreldarian/prisma-generator-drizzle. It doesn't do indexes, default values, or Bit fields but nonetheless very helpful.