Subject: | Additional types required in hash for get_types |
Date: | Tue, 11 Jan 2011 23:21:46 +1100 |
To: | bug-Form-Sensible-Reflector-DBIC [...] rt.cpan.org |
From: | Conrad Canterford <conrad [...] watersprite.com.au> |
Hi,
perl 5.10.1
Form::Sensible 0.20010
Form::Sensible::Reflector::DBIC 0.0341
I don't know why, but my schema is using some types that are not covered
in the get_types hash. Possibly they're postgresql quirks. In any case,
I had to add the following lines to get_types to make it work for me:
'character varying' => 'Text',
date => 'Text',
boolean => 'Toggle',
numeric => 'Number',
'timestamp without time zone' => 'Text'
Once I figured that out and added the above, it worked a charm. Thanks!
Conrad.