You can:

  - change it to a text column (most of the PostgreSQL complex data  
types come back as a string).
  - delete the definition for the fronteira column.
  - delete the table definition (and any related foreign key  
definitions) from your schema definition.

On Jul 14, 2008, at 1:02 PM, Rodrigo Severo wrote:

> Hi,
>
>
> How can I exclude some table from model creation?
>
> I'm trying to create the model for some new application but I'm  
> getting the following error:
>
> [propel-om] Processing: generated-schema.xml
> [Exception in XML parsing]
> exception 'EngineException' with message 'Error setting up column  
> 'fronteira': Cannot map unknown Propel type '' to native database  
> type.' in /usr/share/php/symfony/plugins/sfPropelPlugin/lib/vendor/ 
> propel-generator/classes/propel/engine/database/model/Column.php:190
> Stack trace:
> #0 /usr/share/php/symfony/plugins/sfPropelPlugin/lib/vendor/propel- 
> generator/classes/propel/engine/database/model/XMLElement.php(47):  
> Column->setupObject()
>
> The 'fronteira' column is of the Multipolygon data type. This is a  
> GIS datatype which isn't supported by Propel. This isn't much of a  
> problem for me as I really don't need Symfony nor Propel to deal  
> with this table.
>
> My problem is that this column is preventing the model creation by  
> Symfony/Propel. Is there a way for me to tell Symfony/Propel not to  
> deal with some table?
>
>
> Regards,
>
> Rodrigo Severo
>
> -- 
> ---------------------------------------------------------------------------------------
> Rodrigo Severo
>
> Fábrica de Idéias
> SBS Quadra 2 - Bloco S - Ed. Empire Center - Sala 1.301
> Brasília - DF - CEP 70070-904
> Tel. (61) 3321-1357 Fax (61) 3223-1712
> ---------------------------------------------------------------------------------------
> >

--
Jacob Coby
[EMAIL PROTECTED]




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to