function google_appliance_schema in Google Search Appliance 6.2
Implementation of hook_schema().
File
- ./
google_appliance.install, line 40 - Installation file for building tables for Google Integration
Code
function google_appliance_schema() {
$schema['cache_google_appliance'] = array(
'fields' => array(
'cid' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
'data' => array(
'type' => 'blob',
'not null' => FALSE,
'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,
),
),
'indexes' => array(
'expire' => array(
'expire',
),
),
'primary key' => array(
'cid',
),
);
return $schema;
}