function panels_content_cache_schema in Panels Content Cache 7
Same name and namespace in other branches
- 6 panels_content_cache.install \panels_content_cache_schema()
Implements hook_schema().
File
- ./
panels_content_cache.install, line 53 - Installation, schema and update hooks.
Code
function panels_content_cache_schema() {
$schema = array();
$schema['panels_content_cache'] = array(
'description' => 'Stores display IDs and content types for content cached panel displays.',
'fields' => array(
'did' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'pid' => array(
'type' => 'int',
'default' => NULL,
),
'type' => array(
'description' => 'The {node_type}.type.',
'type' => 'varchar',
'length' => 32,
'not null' => TRUE,
'default' => '',
),
),
'indexes' => array(
'did' => array(
'did',
),
'pid' => array(
'pid',
),
),
);
return $schema;
}