You are here

function certificate_update_7002 in Certificate 3.x

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

Add a cid column to the snapshots table.

File

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

Code

function certificate_update_7002() {
  db_add_field('certificate_snapshots', 'cid', array(
    'type' => 'int',
    'not null' => TRUE,
    'unsigned' => TRUE,
    'default' => 0,
    'description' => 'Template ID used for generation.',
  ));
}