-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi milena,

best of practices would be, by now, to alter the table and the model
separately, as i suspect that tg-admin sql create will drop all model
tables and recreate them.

you should ensure to set it compatible types, and widgets/validators.

good luck,

alex

milena wrote:
> I use SQLAlchemy with MySQL. I need to use alter table to add a column
> to one of the tables in my database. How and where do I do it through
> TG? I could add it directly on the database, but then, how am I
> supposed to see it from the TG side?  An example where I could see the
> syntax is highly  desirable.
> 
> Since the system is up and running I am not able to drop any table or
> to change the model files.
> 
> Thanks in advance,
> Milena
> 
> 
> > 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRovuRdpwN1sq38njAQL2igQAlyEH8VGdAxqVmo3fozy08MEcSHghjZBk
RmAKD0ybPALj17oYMqteugPyZH1Xj07SItF25vARDGAMHGrz9gGUzV6tTt4gtlAA
ZRPC54dAO+rjGw3ZaiVNyMy9RqHPtR0kDXeskFZ8DMt4/SlvB1E1eZbWXcFQtnor
3X4ZqnEnKkk=
=v8ak
-----END PGP SIGNATURE-----

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