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?
Was this page helpful?