-Mark--
You received this message because you are subscribed to the Google Groups "cakephp-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cakephp-core...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Hi,
'fixed' => true seems to be the the cleanest cross db solution as keeping the type as just string is most appropriate from the point of view of the underlying PHP type.
An alternative I considered a while ago was to include the underlying datatype or even column definition so that unsigned ints would work as well, but this makes migrating between database types/versions a potential problem and also makes the comparison functionality very difficult to implement.
Unsigned itself could be handled by also adding in 'unsigned' => true as an option but then where do you stop...
So I guess to answer your question, for my use adding 'fixed' => true would suffice
Thanks
Andy