From: Rick Flosi <rflosi@im...> - 2005-10-14 00:42:17
createTable() returns a list of constraints.
['ALTER TABLE article_category ADD CONSTRAINT article_id_exists FOREIGN
KEY (article_id) REFERENCES article (id) ', 'ALTER TABLE article_category
ADD CONSTRAINT category_id_exists FOREIGN KEY (category_id) REFERENCES
category (id) ']
I believe in the past these constraints were applied during createTable().
Is it expected that this be done manually now?
I'm able to create the constraints now by doing:
constraints = MyTable.createTable()
for constraint in constraints:
Maybe this should be done in createTable().
On Thu, Oct 13, 2005 at 07:42:08PM -0500, Rick Flosi wrote:
> createTable() returns a list of constraints.
Do you use SQLObject from the trunk? This was chnaged a week ago.
Oleg Broytmann http://phd.pp.ru/ phd@...
Programmers don't die, they just GOSUB without RETURN.