On 11/21/05, Ian Bicking <[EMAIL PROTECTED]> wrote:
Toke Høiland-Jørgensen wrote:
> I received the same error with a similar setup - it seems sqlobject
> can't figure out the correct order to create the tables in. My
> solution was, like you, to create the referenced table first (in your
> case that would mean manually creating the 'patient' table), and then
> have tg-admin sql create add the rest of the tables afterwards.
If you want to force an order, subset, or superset of classes to create,
you can put a "soClasses" variable in your module (a list of classes),
and the tables will be created in that order.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
--
"You don't stop laughing because you grow old. You grow old because you stop laughing." -- Michael Pritchard

