You are here

function comment_notify_update_6006 in Comment Notify 6

Fix a missing default causes warnings for Postgresql and some MySQL.

File

./comment_notify.install, line 308
comment_notify.install.

Code

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;
}