|
<?php |
|
|
// $Id$ |
|
|
|
|
|
/** |
|
|
* Implementation of hook_schema(). |
|
|
*/ |
|
|
function category_views_schema() { |
|
|
$schema['category_views'] = array( |
|
|
'fields' => array( |
|
|
'cid' => array('type' => 'int', 'unsigned' => true, 'not null' => true, 'default' => 0), |
|
|
'view_id' => array('type' => 'int', 'size' => 'tiny', 'unsigned' => true, 'not null' => true, 'default' => 0), |
|
|
'display_cont' => array('type' => 'int', 'size' => 'tiny', 'unsigned' => true, 'not null' => true, 'default' => 0), |
|
|
'display_cat' => array('type' => 'int', 'size' => 'tiny', 'unsigned' => true, 'not null' => true, 'default' => 0), |
|
|
), |
|
|
'primary key' => array('cid'), |
|
|
); |
|
|
return $schema; |
|
|
} |
|