List Info

Thread: Updating modules tables




Updating modules tables
user name
2006-11-27 21:31:31
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. 

Dave


From: development-bouncesdrupal.org [mailto:development-bouncesdrupal.org] On Behalf Of Ken Rickard
Sent: Sunday, November 26, 2006 11:52 AM
To: developmentdrupal.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?

Thanks,

Ken Rickard
agentrickard.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )