LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   propel - php - postgresql: can public schema be forced to show up in schema.xml? (https://www.linuxquestions.org/questions/programming-9/propel-php-postgresql-can-public-schema-be-forced-to-show-up-in-schema-xml-4175448573/)

eantoranz 02-04-2013 11:14 AM

propel - php - postgresql: can public schema be forced to show up in schema.xml?
 
Hi!

I'm having problems generating the om from a running DB. The reverse process goes smoothly but then when I run om I get problems because a table that's not in "public" schema depends on a table that's in "public".

If I set the foreignSchema to "public" on the foreign-key property and I set the schema "public" on the appointed table the error goes away and that makes me think that "public" schema is being skipped when doing the reverse. Is there a way to force it to show up in schema.xml generated by reverse?

Thanks in advance.

eantoranz 02-04-2013 01:55 PM

Another possibility would be to go on the schema.xml file with a xml parser and modify the nodes that don't have a schema, for example. How can that be done easily? The closer to bash the better.


All times are GMT -5. The time now is 02:21 PM.