function comment_notify_update_7002 in Comment Notify 7
Head 2 head update for the new size of the hash field.
File
- ./
comment_notify.install, line 138 - Installation/uninstallation for comment notify.
Code
function comment_notify_update_7002() {
$new_spec = array(
'type' => 'varchar',
'description' => 'A hash of unique information about the commenter. Used for unsubscribing users.',
'length' => '128',
'not null' => TRUE,
'default' => '',
);
$keys = array(
'indexes' => array(
'notify_hash' => array(
'notify_hash',
),
),
);
db_drop_index('comment_notify', 'notify_hash');
db_change_field('comment_notify', 'notify_hash', 'notify_hash', $new_spec, $keys);
}