N
Neon2y ago
rare-sapphire

Can i merge branch with main?

Hi Guys Recently i was working with drizzle and neondb with it's branching feature which is amazing, but i have a follow up questions where if i do some changes in the branch (in this case branch name=dev) after i feels ok with the dev branch schemas, how i can replicate the changes to the main branch? how i can make sure that the data that i have in the main branch is not affected, but the column is updated based on the dev branch? and is there any better way to push the changes from dev to main without essentially rerun the sql code/drizzle push?
2 Replies
wise-white
wise-white2y ago
We don't have native support for branch merge, but is something we're thinking about along with diffs. Right now, you'll need to redo the drizzle push on your main branch. Perhaps you can do that as part of a CI/CD flow?
rare-sapphire
rare-sapphireOP2y ago
got it, i will looking into it

Did you find this page helpful?