Hi

I have the following file:

from sqlobject import *
connection_string = 'mysql://[EMAIL PROTECTED]/bd'
connection = connectionForURI(connection_string)

class centro(SQLObject):
    _connection=connection
    descripCentro=StringCol()
    practica=RelatedJoin('practica')

class practica(SQLObject):
    _connection=connection
    descripPractica=StringCol()
    valorTotalPractica=FloatCol()
    centro=RelatedJoin('centro')


SQLObject generates the table "centro_practica".

Since I do to add for example a FIELD "estate" to the table "centro_practica"?

Regards

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to