You are here

function commerce_license_update_7100 in Commerce License 7

Add the 'expires_automatically' column to the commerce_license table.

File

./commerce_license.install, line 198

Code

function commerce_license_update_7100() {
  $spec = array(
    'description' => 'Whether the module should expire the license automatically.',
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => 1,
  );
  db_add_field('commerce_license', 'expires_automatically', $spec);
}