I&#39;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&#39;s 5.x version?<br>
<br><div class="gmail_quote">On Mon, Jun 9, 2008 at 6:09 PM, Matej Svetlík &lt;<a href="mailto:matej.svetlik@cetelem.sk">matej.svetlik@cetelem.sk</a>&gt; 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>
&gt; Hello all,<br>
&gt;<br>
&gt; I have an alter statement where I add a column at a specified location<br>
&gt; &quot;ALTER TABLE {example} ADD COLUMN def TEXT AFTER abc&quot; in drupal 5.<br>
&gt;<br>
&gt; Checking the schema API I can&#39;t see an equivalent to specify the<br>
&gt; position of the new field, I guess it just appends it at the end of<br>
&gt; the table.<br>
&gt;<br>
&gt; Any way to work around this?<br>
&gt;<br>
&gt; --<br>
&gt; Ashraf Amayreh<br>
&gt; <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>