2010/8/3 Rafał <inad...@gmail.com>:
> On Aug 3, 12:14 am, Michał Piotrowski <mkkp...@gmail.com> wrote:
>> Hi,
>>
>> 2010/8/3 Rafał <inad...@gmail.com>:
>>
>>
>>
>> > Hi,
>> > I want to ask for help. I want to add new data type to my schema.yml.
>> > I have a field name IP (IP Address) in my application. My Postgresql
>> > database has 'inet' data type but I can't use it in my symfony.
>>
>> > Could you help me and show some links how to do it?
>>
>> How about string(40) (or better string(64) because it is more round number)?
>>
>> It's IPv6 compliant ;)
>>
>
> Thanx for very fast answer... but it's not good solution for me. I
> need 'inet' type in my postgres database.
>
> Is it very difficult to change some symfony core files in order to do
> it?

Rather, you will need to start in your ORM code - Propel or Doctrine.
I do not know if it is difficult. You have to ask on the
doctrine-devel or propel-devel lists. In symfony part you may want to
create a form field validator. Probably something else will need to be
done.

Regards,
Michal

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to