Login | Register
My pages Projects Community openCollabNet

propel
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author Robert Bruce <rob@tdd.org.uk>
Full name Robert Bruce <rob@tdd.org.uk>
Date 2006-10-02 05:27:58 PDT
Message Yes I know it is, there are foreign keys across the schema files. However
the first schema file licensing.schema.xml is being processed prior to its
dependency, website.schema.xml.

Propel copes perfectly fine with foreign keys across multiple schema files
during the codegen process.

On Mon, October 2, 2006 12:20 pm, Pedram Nimreezi wrote:
> WebsiteContact is being referenced by one of your
> <foreign tags in one of your *.xml schemas...
>
> I may be wrong but I don't believe I am, hope that helps...
>
>
>
> On 10/1/06, Robert Bruce <rob at tdd dot org dot uk> wrote:
>> I have a system whereby I use a multi-component setup with propel, using
>> multiple schema files. Everything works fine for code generation and
>> installing the sql, however when I come to run a datadump an error
>> occurs regarding a missing table. The table does exist in the database,
>> but I believe the error is due to the schema files not been processed in
>> dependency order.
>>
>> Here is an output from attempting to run the datadump target
>>
>> http://www.tdd.org.u​k:81/propel.txt
>>
>> If you look at the order the schema files are processed the first file
>> licencing.schema.xml depends on the schema website.schema.xml which is
>> being processed further down the list. Is there any way can control the
>> order in which the schema files are processed? Or is there any other way
>> to get around this problem?
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
>> For additional commands, e-mail: dev-help at propel dot tigris dot org
>>
>>
>
>
> --
> ~
> Pedram Nimreezi -- President/Senior Engineer
> Major Computing, Inc
> --
>
> Not by age, but by knowledge is wisdom acquired.
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
> For additional commands, e-mail: dev-help at propel dot tigris dot org
>
>