On Tuesday 11 September 2007 18:19:27 Halldór wrote:
> Hi there,
>
> I was just wondering. If I deploy my application and then find out
> that I did something wrong in my models. How do I update the database
> and ensure that I won't lose any data?
>
> Btw. I'm using SO.

You can write update / downgrade SQL scripts with SO.  There are recipes 
around for that.  I particularly prefer doing things to work just in one way, 
so if I need to downgrade then this will be another upgrade.  I store all my 
update SQL scripts on the same repository as I store the project.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to