[development] Updating modules tables

Metzler, David metzlerd at evergreen.edu
Mon Nov 27 21:31:31 UTC 2006

May have missed the response to this, but my recommendation would be,
yes.  You need both the install and the update function to be
implemented.  The mysite_install would fire when someone who never used
your module enabled it.  Users who are upgrading will hit the
mysite_update_1 function.  



From: development-bounces at drupal.org
[mailto:development-bounces at drupal.org] On Behalf Of Ken Rickard
Sent: Sunday, November 26, 2006 11:52 AM
To: development at drupal.org
Subject: [development] Updating modules tables

I'm not seeing the answer in the handbooks.

I have a stable release of the mysite module.  In the new 4.7 release, I
have added a new db table.

Do I need to write a mysite_update() function to handle this?


Ken Rickard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20061127/f3cc1bfc/attachment.htm 

More information about the development mailing list