On Jul 19, 11:53 am, "Rangi Sutton" <[EMAIL PROTECTED]> wrote: > Hey folks, > > So far every bit of documentation I've read on creating the model and > database has been very linear.. I haven't found anywhere where it's > described how to go back and change things. Is there a bit of good tut > or something I'm missing? > > To clarify; I have a project up and running, and now I'd like to add a > new column to a table. I add it to the tables class definition in > model.py, but how do I get the database to update subsequently? I've > plated with tg-admin sql <bunch o' options> but havn't found anything > that does the trick. I can think of ways to dump the database and > rebuild it, but I'm thinking you folk must be doing this all the time? > > Or do you just get your model right the first time!? Clever cats. > > I'm using SO and mysql, but also happy to use sqlite while developing > if this process is easier. > > Cheers, > r. > > (great list! Sorry about all the simple questions...)
I think that you'll have to do it by hand. sorry for the bad news :( -- Nicolás Miyasato --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

