diff --git a/browscap.install b/browscap.install index 6566783..f35c0a2 100644 --- a/browscap.install +++ b/browscap.install @@ -23,43 +23,8 @@ function browscap_schema() { ), 'primary key' => array('useragent'), ); - $schema['cache_browscap'] = array( - 'fields' => array( - 'cid' => array( - 'type' => 'varchar', - 'length' => 255, - 'not null' => TRUE, - 'default' => '', - ), - 'data' => array( - 'type' => 'blob', - 'size' => 'big', - ), - 'expire' => array( - 'type' => 'int', - 'not null' => TRUE, - 'default' => 0, - ), - 'created' => array( - 'type' => 'int', - 'not null' => TRUE, - 'default' => 0, - ), - 'headers' => array( - 'type' => 'text', - ), - 'serialized' => array( - 'type' => 'int', - 'size' => 'small', - 'not null' => TRUE, - 'default' => 0, - ), - ), - 'primary key' => array('cid'), - 'indexes' => array( - 'expire' => array('expire'), - ), - ); + $schema['cache_browscap'] = drupal_get_schema_unprocessed('system', 'cache'); + return $schema; }