I can't see a way to get my database to change when my model changes.
tg-admin sql update seems to require some external script to be
written, and the only other alternative seems to be dropping and
recreating the tables. Catwalk silently breaks when you load it up with
an altered model file, so that's no help.

Surely amending the model is a crucial activity that is going to be
performed many times during development? In my 10 years of using
relational databases, I can't think of a single non-trivial application
that didn't need to add a column at some point without clearing out the
database.

Is there at least a simple way to dump out the data and re-import it?
Or perhaps some way of knowing what column declaration a given model
attribute will require?

--
Ben Sizer


--~--~---------~--~----~------------~-------~--~----~
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