-
Notifications
You must be signed in to change notification settings - Fork 400
Closed
Description
I'm trying to import an existing pgsql database in my project but it gets a problem when running the sql:build, the error is Table "schema.yyy" contains a foreign key to nonexistent table "schema.zzz". This means that foreign-table zzz is looked up into the same schema and this is wrong.
I would expect that propel were going to look into the other schemas, but this is not happening.
I looked at the generated schema.xml and the problem is that at the <foreign-key does not have a reference to the other schema: ´` it works when I add foreignSchema="other_schema", in this case the foreign key will be looked into other_schema.zzz
Since the DB is very big, this cannot be done manually. Can you please have a look at this issue?
Metadata
Metadata
Assignees
Labels
No labels