Hey Rutik 👋
You could configure Planetscale to automatically copy migration data in deploy requests, you would need to go into your database settings to enable it.
On a side note, here’s an excellent
tutorial which describes exactly what you are trying to achieve with Nextjs, Prisma and Planetscale.