I'm a little confused here, the upgrade guide says how hook_update_N should use the schema API, does this apply to the already existing update hooks or to new ones only? Same goes for the update hook naming conventions that contain drupal major version and so forth, how does this affect the already existing update hooks from the module's 5.x version?
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