Red Gate forums :: View topic - Compare in tandem with source control and migration scripts
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Compare in tandem with source control and migration scripts

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
jswartz



Joined: 12 Sep 2013
Posts: 1

PostPosted: Thu Sep 12, 2013 4:37 pm    Post subject: Compare in tandem with source control and migration scripts Reply with quote

Am I correct in the assumption that SQL Compare uses the database extended property "SQLSourceControl Database Revision" to determine what migration scripts are included in it's update script based on source control?

In other words it appears that you tie migration scripts to a specific change, and Compare references migration scripts as a solution to some problems or warnings it encounters.

What I'm aiming to do with clients who's database has never been part of a versioning system is to initially add this extended property and set the version to match nearly the first addition of the database to source control, then add migration scripts to the next version change so that SQL compare can be used to pull in all of these scripts in an effort to bring all client databases into a base starting point for versioning. I suspect I'll have to manually add the Extended property to start, and based on the compare update scripts I've looked at, manually increment the version after running a compare update.
Back to top
View user's profile Send private message
David Atkinson



Joined: 05 Dec 2005
Posts: 1124
Location: Twitter: @dtabase

PostPosted: Thu Sep 12, 2013 5:13 pm    Post subject: Reply with quote

We're developing a new version of migrations that won't be tied to version control revision numbers. I would imagine that once this is officially shipped this extended property will therefore be deprecated.

More information can be found here:

http://documentation.red-gate.com/display/MV2/Migrations+V2
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group