You are here

function ctools_update_6001 in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 ctools.install \ctools_update_6001()

Enlarge the ctools_object_cache.name column to prevent truncation and weird errors.

File

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

Code

function ctools_update_6001() {
  $ret = array();

  // Perform updates like this to reduce code duplication.
  $schema = ctools_schema_2();
  db_change_field($ret, 'ctools_object_cache', 'name', 'name', $schema['ctools_object_cache']['fields']['name']);
  return $ret;
}