drizzle-orm icon indicating copy to clipboard operation
drizzle-orm copied to clipboard

Prisma migration guide

Open jakeleventhal opened this issue 2 years ago • 2 comments

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.

jakeleventhal avatar Apr 27 '23 00:04 jakeleventhal

Also would be interested in this

iukea1 avatar Apr 29 '23 20:04 iukea1

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

navid-asgharzadeh avatar Jun 06 '23 12:06 navid-asgharzadeh

yes we want!

yasseralsaidi avatar Jun 16 '23 11:06 yasseralsaidi

Looking forward to the migration guide!

nkilm avatar Jul 03 '23 12:07 nkilm

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 avatar Nov 12 '23 01:11 Angelelz

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

Angelelz avatar Nov 12 '23 15:11 Angelelz

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

hilja avatar Jan 17 '24 11:01 hilja