function panels_sections_schema in Panels Sections 6.2
Same name and namespace in other branches
- 6 panels_sections.install \panels_sections_schema()
Implementation of hook_schema().
File
- ./
panels_sections.install, line 23
Code
function panels_sections_schema() {
$schema = array();
$schema['panels_sections_data'] = array(
'fields' => array(
'sid' => array(
'type' => 'serial',
'size' => 'normal',
'not null' => TRUE,
),
'name' => array(
'type' => 'varchar',
'size' => 'normal',
'length' => 255,
'default' => '',
),
'status' => array(
'type' => 'int',
'size' => 'tiny',
'default' => '0',
),
'path' => array(
'type' => 'text',
'size' => 'normal',
),
'panels_page' => array(
'type' => 'int',
'size' => 'tiny',
'default' => '0',
),
'visibility' => array(
'type' => 'int',
'size' => 'tiny',
'default' => '0',
),
'weight' => array(
'type' => 'int',
'size' => 'normal',
'default' => '0',
),
),
'primary key' => array(
'sid',
),
);
return $schema;
}