function subscriptions_update_6 in Subscriptions 6
Same name and namespace in other branches
- 5.2 subscriptions.install \subscriptions_update_6()
Database update function 6 for 5.x-2.0 rewrite.
File
- ./
subscriptions.install, line 327 - Subscriptions module installation.
Code
function subscriptions_update_6() {
$ret = array();
db_add_field($ret, 'subscriptions_user', 'autosub_on_post', array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => -1,
));
db_add_field($ret, 'subscriptions_user', 'autosub_on_update', array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => -1,
));
db_add_field($ret, 'subscriptions_user', 'autosub_on_comment', array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => -1,
));
db_add_field($ret, 'subscriptions_user', 'send_self', array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => -1,
));
return $ret;
}