You are here

function certificate_update_6101 in Certificate 6.2

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

Add mapper column for more than one mapping per node.

File

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

Code

function certificate_update_6101() {
  $ret = array();
  db_add_field($ret, 'certificate_node', 'mapper', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'description' => 'The mapper to use.',
  ));
  $ret[] = update_sql("update {certificate_node} set mapper = 'content_profile'");
  return $ret;
}