function subscriptions_update_6103 in Subscriptions 7
Same name and namespace in other branches
- 6 subscriptions.install \subscriptions_update_6103()
Database update function 6103: Add the new {subscriptions_queue}.suspended and {subscriptions_user}.suspended columns.
File
- ./
subscriptions.install, line 233 - Subscriptions module installation.
Code
function subscriptions_update_6103() {
db_add_field('subscriptions_queue', 'suspended', array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
));
db_add_field('subscriptions_user', 'suspended', array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
));
}