diff --git a/ctools.install b/ctools.install
index e96c743..16bb046 100644
--- a/ctools.install
+++ b/ctools.install
@@ -50,7 +50,7 @@ function ctools_schema_3() {
   $schema = ctools_schema_2();
 
   // update the 'obj' field to be 128 bytes long:
-  $schema['ctools_object_cache']['fields']['obj']['length'] = 128;
+  $schema['ctools_object_cache']['fields']['obj']['length'] = 255;
 
   return $schema;
 }
@@ -62,7 +62,7 @@ function ctools_schema_2() {
   $schema = ctools_schema_1();
 
   // update the 'name' field to be 128 bytes long:
-  $schema['ctools_object_cache']['fields']['name']['length'] = 128;
+  $schema['ctools_object_cache']['fields']['name']['length'] = 255;
 
   // Update the 'data' field to be type 'blob'.
   $schema['ctools_object_cache']['fields']['data'] = array(
@@ -263,3 +263,14 @@ function ctools_update_7001() {
     'description' => 'The type of the object this cache is attached to; this essentially represents the owner so that several sub-systems can use this cache.',
   ));
 }
+
+/**
+ * Increase the length of the ctools_object_cache.obj column to 255.
+ */ 
+function ctools_update_7002() {
+  db_change_field('ctools_object_cache', 'name', 'name', array(
+    'type' => 'varchar',
+    'length' => '255',
+    'not null' => TRUE,
+  ));
+}
