On Wed, Jul 16, 2008 at 07:38:57PM +0200, Luis Javier Peris wrote:
> I'd like to resolve a simple question, if I create a table (by means of
> sqlobject) and later I'd like to add a new column, how I must proceed?

   MyTable.sqlmeta.addColumn(StrinCol(name='new_column', length=255),
      changeSchema=True)

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to