Comments
2 comments
-
Hello FanGuogang, welcome!
Your English is great and thank you for the question.
If I understand correctly, your goal is to minimise the amount of script duplication across branches? -
Each feature branch will need its own migration files starting with a baseline file that represents the database at the point of branching. You can use the same instance for each feature as long as there is no overlap. This means they cannot alter each other's tables and so on. It's not ideal, but we've all worked that way in the past.
Come back and ask if I haven't made myself clear!
Add comment
Please sign in to leave a comment.
We are using following branching model:
how to distribute database migration file versions between feature branches ?
I am sorry for my poor English...best wishes to you.