Red Gate forums :: View topic - Get Latest - script
Return to www.red-gate.com RSS Feed Available

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

Get Latest - script

Search in SQL Source Control 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
andreas_agren



Joined: 25 May 2011
Posts: 9

PostPosted: Wed May 25, 2011 9:22 am    Post subject: Get Latest - script Reply with quote

Hello

When getting the latest changes from e.g. svn into a database there is a script created behind the curtains that does the changes, I have two questions regarding this.

1. Is it possible to get to review and edit this script before it is run when clicking "Get Latest"?

2. Data loss - I had a change in svn that dropped a column and a table (that contained data), "Get Latest" happily did these changes without any warning. This seems very dangerous since people makes mistakes. Can I somehow tune which changes are acceptable when clicking "Get Latest"?
Back to top
View user's profile Send private message
David Atkinson



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

PostPosted: Wed May 25, 2011 11:00 am    Post subject: Reply with quote

Thanks for the feedback. What we hope to do in an upcoming release is to pop up a warning when any data loss could occur as a result of a 'get latest', so you can validate that this is indeed what you expect before going ahead with it.

David Atkinson
Product Manager
Red Gate Software
Back to top
View user's profile Send private message Send e-mail
andreas_agren



Joined: 25 May 2011
Posts: 9

PostPosted: Wed May 25, 2011 12:07 pm    Post subject: Reply with quote

Thanks for the information.

What about my first question, is it possible to review and edit the script before it is run by "Get Latest"?
Back to top
View user's profile Send private message
David Atkinson



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

PostPosted: Wed May 25, 2011 12:35 pm    Post subject: Reply with quote

There's no way of doing that right now. If the script fails to run successfully, for whatever reason, the script can be viewed.

David
Back to top
View user's profile Send private message Send e-mail
andreas_agren



Joined: 25 May 2011
Posts: 9

PostPosted: Wed May 25, 2011 1:11 pm    Post subject: Reply with quote

I've added a feature request for the data loss-warning:
http://redgate.uservoice.com/forums/39019-sql-source-control/suggestions/1865615-warn-when-get-latest-cause-data-loss

Please vote!
Back to top
View user's profile Send private message
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