You are here

function subscriptions_update_6103 in Subscriptions 6

Same name and namespace in other branches
  1. 7 subscriptions.install \subscriptions_update_6103()

Database update function 6103: Add the new {subscriptions_queue}.suspended and {subscriptions_user}.suspended columns.

File

./subscriptions.install, line 442
Subscriptions module installation.

Code

function subscriptions_update_6103() {
  $ret = array();
  db_add_field($ret, 'subscriptions_queue', 'suspended', array(
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => 0,
  ));
  db_add_field($ret, 'subscriptions_user', 'suspended', array(
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}