The notify table is not been created on install, due to the notify.install code not being updated for drupal 6. It's now a lot simpler - I've changed the notify.install file to look like this and it works:
function notify_schema() {
$schema['notify'] = array(
'fields' => array(
'uid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'disp-width' => '10'),
'status' => array('type' => 'int', 'size' => 'tiny', 'not null' => TRUE, 'default' => 0, 'disp-width' => '2'),
'attempts' => array('type' => 'int', 'size' => 'tiny', 'not null' => TRUE, 'default' => 0, 'disp-width' => '4'),
'format' => array('type' => 'int', 'size' => 'tiny', 'not null' => TRUE, 'default' => 0, 'disp-width' => '4')),
'primary key' => array('uid'),
);
return $schema;
}
function notify_install() {
// Create my tables.
drupal_install_schema('notify');
}
function notify_uninstall() {
// Drop my tables.
drupal_uninstall_schema('notify');
}
Comments
Comment #1
matt2000 commentedNew .install file committed. Thanks!
Comment #2
matt blooks good - thanks!