function smartqueue_schema in Nodequeue 7.3
Same name and namespace in other branches
- 6.2 smartqueue.install \smartqueue_schema()
- 7.2 modules/smartqueue/smartqueue.install \smartqueue_schema()
Implements hook_schema().
File
- ./
smartqueue.install, line 11 - Install, update and uninstall functions for the smartqueue module.
Code
function smartqueue_schema() {
$schema['smartqueue'] = array(
'description' => 'Table for smartqueues, storing global information for each queue.',
'fields' => array(
'name' => array(
'description' => 'The machine name for the queue.',
'type' => 'varchar',
'length' => 128,
),
'use_parents' => array(
'description' => "Whether a queue is to use the terms' parents when displaying the queue selection.",
'type' => 'int',
'size' => 'tiny',
'default' => 0,
),
),
'primary key' => array(
'name',
),
);
return $schema;
}