Branching
brian.merz
Posts: 55
Hello,
We are starting to look into branching our software into several different branches (dev/stable/release).
How does sql source control handle branching? Do I need to create one database container for each branch?
Thank you,
--Brian
We are starting to look into branching our software into several different branches (dev/stable/release).
How does sql source control handle branching? Do I need to create one database container for each branch?
Thank you,
--Brian
Comments
Thanks for your post. SQL Source Control will link a single DB up to a single branch. You can't have multiple branches working against the same linked DB as you cannot have multiple versions of an object in a single DB.
I suspect that you process you would want to follow would be to link up the development DB to the development branch and then use SQL Compare or some other method to compare and synch from the dev branch to stable and then stable to release.
HTH
Pete
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
Documentation: A Shaft of Light into a Coded World
sqlserver\retro
sqlserver\lab
Each instance has the databases linked to different branches of the code in TFS/SVN, etc.
This works. It would be helpful if there was some automation to 'move' the db's from trunk to retro. Currently we have to unlink all the databases and remove in the trunk instance and then create new blank databases and link in the retro instance.
Documentation: A Shaft of Light into a Coded World