Use Prisma
Hello π
I am trying to use Prisma and Neon and it is working but... I want to know the best practices :
I have the production on main.
Should I put my dev environment on a dev neon branch ?
Should I ONLY migrate my Prisma Schema on dev neon branch and never on main ?
If I am happy with my dev branch on neon, should I "merge" it on main ?
I don't find any information in the documentation. Please heeeelp π₯° Thank you !
2 Replies
exotic-emeraldβ’2y ago
Hey, this video might be what you're looking for:
https://www.youtube.com/watch?v=PX881bVAPxM
Neon
YouTube
Prisma essentials: from development to production (Prisma Migrate w...
Learn about database migrations using Prisma Migrate and how to go from Development to Preview to Production.
- Code example: https://github.com/neondatabase/preview-branches-with-fly/tree/with-prisma
- Try Neon at https://neon.tech/youtube
β Neon Discord: https://neon.tech/discord
β Follow us on Twitter: https://twitter.com/neondatabase
β S...
β S...
constant-blueOPβ’2y ago
Perfect, thank you ! You are the best π