You are here

function certificate_update_7002 in Certificate 8.3

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

Add a cid column to the snapshots table.

File

./certificate.install, line 415
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.',
  ));
}