You are here

function ctools_update_6004 in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 ctools.install \ctools_update_6004()

Add primary key to the ctools_object_cache table.

File

./ctools.install, line 219
Contains install and update functions for ctools.

Code

function ctools_update_6004() {
  db_add_primary_key('ctools_object_cache', array(
    'sid',
    'obj',
    'name',
  ));
  db_drop_index('ctools_object_cache', 'sid_obj_name');
}