On Mon, Apr 17, 2006 at 07:00:17PM +0800, artman wrote:
> I changed SqlObject version to 0.8dev-r1706, it works now!
> And I've known how to give the added foreignkey a name:
> Department.sqlmeta.addColumn(ForeignKey('Employee',
> dbName='chief',notNone=True),changeSchema=True)
And you don't need to .addCOlumn(). See
http://svn.colorstudy.com/SQLObject/docs/FAQ.txt
question "Mutually referencing tables".
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss