N
Neon11mo ago
other-emerald

Migrate Dev Branch to Main

I was expecting an easy way to merge my dev branch to main so that my production app would point to the schema it was built off of in dev, but I'm missing something 🤔 I'm almost positive this is just a knowledge gap of mine, but I would really appreciate it if someone could help me understand how to fulfill the following flow... I work off of dev locally, push and open a PR. That PR gets merged and the DB inherits the updated schema I was working off of in dev.
2 Replies
other-emerald
other-emeraldOP11mo ago
This got me where I needed to go 😅 https://www.youtube.com/watch?v=jjRasfbeYHk
Neon
YouTube
Neon Developer workflow using Vercel and Github Actions
Learn how you can create a Neon branch for every Vercel Preview Deployment. GitHub repository https://github.com/neondatabase/preview-branches-with-vercel
like-gold
like-gold11mo ago
Awesome!

Did you find this page helpful?