[development] schema api enum data type

Craig Jackson tapocol at gmail.com
Thu Jun 5 14:39:42 UTC 2008

Well, this is the map of database types. There is no reference to enum or set.

I think you may be able to pass enum in as the type and/or pgsql_type,
then you can put the options in the length (with each option separated
by commas). But, I am unsure about possible problems. So, you (or
someone else) would need to run through the code to see if it makes
sense to do that.

Craig Jackson

On Thu, Jun 5, 2008 at 8:21 AM, Ashraf Amayreh <mistknight at gmail.com> wrote:
> Forgot that I got rid of these enums in later update hooks, so I no longer
> need that. Although if there's a standard way of handling them it would be
> nice to know :)
> On Thu, Jun 5, 2008 at 5:11 PM, Ashraf Amayreh <mistknight at gmail.com> wrote:
>> Hello all,
>> I'm upgrading my module to drupal 6 and was using the enum data type, how
>> can I handle this in the schema API?
>> I searched the documentation but no enum and only a comment that wasn't
>> answered. Any pointers appreciated.
>> --
>> Ashraf Amayreh
>> http://blogs.aamayreh.org
> --
> Ashraf Amayreh
> http://blogs.aamayreh.org

More information about the development mailing list