Migrating from Prisma

Hi, I have an existing project already in production built using prisma and postgres (supabase). I am planning to go serverless and hence planning to migrate to drizzle + PlanetScale. Here is how I am planning it: 1. Use Prisma to generate the entire schema structure in MySQL (Planetscale) 2. Use Drizzlekit to introspect and generate types. 3. Use Drizzle ORM for querying. Am I thinking in the right direction? Or is there a recommended way?
1 Reply
alexblokh
alexblokh2y ago
hey! yep, it should be the fastest way. If you already have a live database it Planescale - you can just introspect it
Want results from more Discord servers?
Add your server