function quicktabs_schema in Quick Tabs 6
Same name and namespace in other branches
- 6.3 quicktabs.install \quicktabs_schema()
- 6.2 quicktabs.install \quicktabs_schema()
- 7.3 quicktabs.install \quicktabs_schema()
- 7.2 quicktabs.install \quicktabs_schema()
File
- ./
quicktabs.install, line 4
Code
function quicktabs_schema() {
$schema['quicktabs'] = array(
'description' => t('The quicktabs table.'),
'fields' => array(
'qtid' => array(
'description' => t('The primary identifier for a qt block.'),
'type' => 'serial',
'unsigned' => TRUE,
'size' => 'big',
'not null' => TRUE,
'disp-width' => '10',
),
'title' => array(
'description' => t('The title of this quicktabs block.'),
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
'tabs' => array(
'description' => t('A serialized array of the contents of this qt block.'),
'type' => 'text',
'size' => 'medium',
'not null' => TRUE,
),
),
'primary key' => array(
'qtid',
),
);
return $schema;
}