diff --git a/comment_notify.install b/comment_notify.install index bf71007..76f3525 100644 --- a/comment_notify.install +++ b/comment_notify.install @@ -300,4 +300,13 @@ function comment_notify_update_6005() { 'disp-width' => '11')); return $ret; -} \ No newline at end of file +} + +/** + * Fix a missing default causes warnings for Postgresql and some MySQL. + */ +function comment_notify_update_6006() { + $ret = array(); + db_change_field($ret, 'comment_notify', 'notified', 'notified', array('type' => 'int', 'size' => 'small', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)); + return $ret; +}