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?<br>
<br><div class="gmail_quote">On Mon, Jun 9, 2008 at 6:09 PM, Matej Svetlík <<a href="mailto:matej.svetlik@cetelem.sk">matej.svetlik@cetelem.sk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hello,<br>
<br>
why do you need to have table column at specified position?<br>
<div><div></div><div class="Wj3C7c"><br>
On Mon, 2008-06-09 at 14:48 +0300, Ashraf Amayreh wrote:<br>
> Hello all,<br>
><br>
> I have an alter statement where I add a column at a specified location<br>
> "ALTER TABLE {example} ADD COLUMN def TEXT AFTER abc" in drupal 5.<br>
><br>
> Checking the schema API I can't see an equivalent to specify the<br>
> position of the new field, I guess it just appends it at the end of<br>
> the table.<br>
><br>
> Any way to work around this?<br>
><br>
> --<br>
> Ashraf Amayreh<br>
> <a href="http://blogs.aamayreh.org" target="_blank">http://blogs.aamayreh.org</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ashraf Amayreh<br><a href="http://blogs.aamayreh.org">http://blogs.aamayreh.org</a>