You are here

function ctools_update_6008 in Chaos Tool Suite (ctools) 7

The ctools_object_cache needs to be defined as a blob.

File

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

Code

function ctools_update_6008() {
  db_delete('ctools_object_cache')
    ->execute();
  db_change_field('ctools_object_cache', 'data', 'data', array(
    'type' => 'blob',
    'size' => 'big',
    'description' => 'Serialized data being stored.',
    'serialize' => TRUE,
  ));
}