Red Gate forums :: View topic - What is the process for automating commits
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Source Control 3
SQL Source Control 3 forum

What is the process for automating commits

Search in SQL Source Control 3 forum
Post new topic   Reply to topic
Jump to:  
Author Message
lazytrbar



Joined: 24 Jan 2013
Posts: 2

PostPosted: Thu Jan 24, 2013 11:16 pm    Post subject: What is the process for automating commits Reply with quote

I'm just getting started using RedGate source control. My question is this. Is there a way to automate (for example nightly) the commit process.

Our goal here is that we have a lot of programmers working on the dev box and we would like a history of their changes and a quick way to use those scripts to build another database remotely (offline) at any given time.
Back to top
View user's profile Send private message
Anu Deshpande



Joined: 20 Apr 2009
Posts: 663
Location: Cambridge

PostPosted: Mon Jan 28, 2013 10:09 am    Post subject: Reply with quote

Thanks for your post.

Normally the actions carried out by SQL Source control would be performed manually by each developer when they're happy with the work they have completed and are ready to commit the changes to the source control repository. It's probably not a great idea to have check-ins performed automatically, as a developer might have left the database in an inconsistent state.

If you want to automate the deployment of these checked-in changes to other environments, such as a staging or test environment, the best thing to use would be SQL Compare. You can automate the process using the command line interface.

Here is an article that discusses the workflow. Click here

I hope this helps.
_________________
Anuradha Deshpande
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
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