You are here

function comment_notify_update_7004 in Comment Notify 7

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

File

./comment_notify.install, line 191
Installation/uninstallation for comment notify.

Code

function comment_notify_update_7004() {
  db_change_field('comment_notify', 'notified', 'notified', array(
    'type' => 'int',
    'size' => 'small',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
}