[development] schema API add column after
Matej Svetlík
matej.svetlik at cetelem.sk
Mon Jun 9 15:09:14 UTC 2008
hello,
why do you need to have table column at specified position?
On Mon, 2008-06-09 at 14:48 +0300, Ashraf Amayreh wrote:
> 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
More information about the development
mailing list