function ctools_update_6004

Add primary key to the ctools_object_cache table.

File

./ctools.install, line 219

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');
}