[development] schema API add column after

Ashraf Amayreh mistknight at gmail.com
Mon Jun 9 11:48:41 UTC 2008


Hello all,

I have an alter statement where I add a column at a specified location
"ALTER TABLE {example} ADD COLUMN def TEXT AFTER abc" in drupal 5.

Checking the schema API I can't see an equivalent to specify the position of
the new field, I guess it just appends it at the end of the table.

Any way to work around this?

-- 
Ashraf Amayreh
http://blogs.aamayreh.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20080609/3076cf02/attachment.htm 


More information about the development mailing list