15 Feb
2006
15 Feb
'06
4:33 a.m.
Gordon Heydon wrote:
What happens is that when you install a new module is 2 things happen.
1. all the .install files are included and {module name}_update_n, where n is considered the schema version is inserted into the system table. 2. the {module name}_install() is called where if you want you can create the database tables.
Yep, thats exactly right.
I still haven't really found out much information on the 4.7 update system which this is hooked into, hopefully the documentation team has something that they are putting together.
Go ahead and throw it in whereever it fits. There is some incoming hook documentation over at http://drupal.org/node/48722. -- Neil Drumm http://delocalizedham.com/