Hi, >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? > > The approach I use is:
1) Make the changes I want to the model code 2) Run tg-admin sql status to see the difference between that and the running database 3) Manually issue alter table statements to make them match 4) Run tg-admin sql status again to check they now match This works ok, but there is definitely scope for a better process. Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

