I just downloaded latest 6.x-1.9, and did a quick code inspection. There is a new field 'page_info' that is added to the {contact} table in the contact_forms_install() function. It will work OK for new installation, but for an update from an earlier version, contact_forms_install() function is not called.
To properly update, need a contact_forms_update_N() function, perhaps something like this:
/**
* Implementation of hook_update_N()
*/
function contact_forms_update_6000() {
//Alter the contact table to add an info field for each category
$sql = 'ALTER TABLE {contact} ADD page_info TEXT NULL';
$ret = array();
$ret[] = update_sql($sql);
return $ret;
}
Comments
Comment #1
behindthepage commentedThanks iva2k.
I have added the following code which asheres to the schema rules
Regards
Geoff
Comment #2
behindthepage commented