function comment_notify_update_7005 in Comment Notify 7
Fix minor schema inconsistencies caused by the last update.
File
- ./
comment_notify.install, line 205 - Installation/uninstallation for comment notify.
Code
function comment_notify_update_7005() {
// Previous update altered size and unsigned unnecessarily.
$notified_field = array(
'type' => 'int',
'description' => 'A boolean indicator for whether or not a notification for the comment has been sent: 1 means yes, 0 means no.',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
'disp-width' => '11',
);
db_change_field('comment_notify', 'notified', 'notified', $notified_field);
}