You are here

function certificate_update_7007 in Certificate 7.3

Same name and namespace in other branches
  1. 8.3 certificate.install \certificate_update_7007()

Add indexes for sites with many certificate templates and mappings.

File

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

Code

function certificate_update_7007() {
  if (!db_index_exists('certificate_node', 'nid')) {
    db_add_index('certificate_node', 'nid', array(
      'nid',
    ));
  }
}