You are here

function qpcache_update_6100 in QueryPath 7.3

Same name and namespace in other branches
  1. 6 qpcache/qpcache.install \qpcache_update_6100()
  2. 7.2 qpcache/qpcache.install \qpcache_update_6100()

The installer file for qpcache. @file

File

qpcache/qpcache.install, line 8
The installer file for qpcache.

Code

function qpcache_update_6100() {
  $spec = array(
    'type' => 'int',
    'not null' => TRUE,
    'unsigned' => FALSE,
    'default' => 0,
  );
  $indexes = array(
    'unique keys' => array(
      'hash' => array(
        'crckey',
        'hashkey',
      ),
    ),
  );
  db_change_field('qpcache_xmlcache', 'crckey', 'crckey', $spec, $indexes);
  return;
}