hello, I am using Prisma in Nextjs with Planetscal...
# orm-help
r
hello, I am using Prisma in Nextjs with Planetscale as a database. I have deployed the app. I pushed all the schema changes to the main branch which is not promoted as prod branch yet. Do I need to run the migrate command or it does automatically? (also I can get the data in my deployed app)
✅ 1
n
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.
✅ 1