function ctools_update_7003

Revert the length of the ctools_object_cache.name column back to 128.

File

./ctools.install, line 291

Code

function ctools_update_7003() {
    db_delete('ctools_object_cache')->execute();
    db_change_field('ctools_object_cache', 'name', 'name', array(
        'type' => 'varchar',
        'length' => '128',
        'not null' => TRUE,
        'description' => 'The name of the object this cache is attached to.',
    ));
}