LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
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: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
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



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 3 07-06-2015 07:43 AM
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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration