function ctools_update_6001 in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 ctools.install \ctools_update_6001()
Enlarge the ctools_object_cache.name column to prevent truncation and weird errors.
File
- ./
ctools.install, line 188 - Contains install and update functions for ctools.
Code
function ctools_update_6001() {
// Perform updates like this to reduce code duplication.
$schema = ctools_schema_2();
db_change_field('ctools_object_cache', 'name', 'name', $schema['ctools_object_cache']['fields']['name']);
}