Rich types should be able to specify column options
Reported by Matt Jones | December 30th, 2009 @ 08:58 PM | in Beyond Hobo 1.0
Rich types should be able to specify column options - for instance, a "US zip code" type should be able to specify :limit => 5 (or 9, if collecting zip+4) in the definition. This would also be useful for things like "money" types; specifying COLUMN_TYPE = :decimal is notably incomplete without :scale and :precision.
No idea how to handle this smoothly, but ticketing it so I don't forget.
Comments and changes to this ticket
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป