LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-04-2013, 11:14 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
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.
 
Old 02-04-2013, 01:55 PM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
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.
 
  


Reply

Tags
php, postgresql, propel, public, schema


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL to XML including data, DTD and XML Schema rm_-rf_windows Linux - General 0 10-01-2012 04:04 PM
XML Schema Issue PatrickNew Programming 2 01-12-2009 09:29 AM
LXer: An introduction to XML Schema 1.1 LXer Syndicated Linux News 0 12-10-2008 08:30 AM
LXer: Learn to Export Database Schema as XML in PHP LXer Syndicated Linux News 0 02-12-2007 01:54 PM
XML Schema complexType eric.r.turner Programming 1 12-28-2003 04:01 AM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration