You are here

function certificate_update_7001 in Certificate 7.3

Same name and namespace in other branches
  1. 8.3 certificate.install \certificate_update_7001()
  2. 7.2 certificate.install \certificate_update_7001()
  3. 3.x certificate.install \certificate_update_7001()

Change template field to allow signed integers, to allow for global and no certificate map values.

File

./certificate.install, line 401
Install the Certificate module.

Code

function certificate_update_7001() {
  db_change_field('certificate_node', 'template', 'template', array(
    'type' => 'int',
    'not null' => TRUE,
    'unsigned' => FALSE,
    'default' => 0,
    'description' => 'The certificate node ID to deliver on a match.',
  ));
  return t('Changed template field to allow signed integers.');
}