Commit 46265976 authored by greggles's avatar greggles

Issue #639618 by greggles: user warning: Field 'notified' doesn't have a default value

parent 38ba5cd5
......@@ -157,3 +157,10 @@ function comment_notify_update_7003() {
}
return 'Comment notify token strings updated.';
}
/**
* Fix a missing default causes warnings for Postgresql and some MySQL.
*/
function comment_notify_update_7004() {
db_change_field('comment_notify', 'notified', 'notified', array('type' => 'int', 'size' => 'small', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment