function forena_schema in Forena Reports 6
Same name and namespace in other branches
- 8 forena.install \forena_schema()
- 6.2 forena.install \forena_schema()
- 7.5 forena.install \forena_schema()
- 7 forena.install \forena_schema()
- 7.2 forena.install \forena_schema()
- 7.3 forena.install \forena_schema()
- 7.4 forena.install \forena_schema()
Implementation of hook_schema
Return value
unknown
File
- ./
forena.install, line 11 - Installation api for module
Code
function forena_schema() {
$schema['forena_reports'] = array(
'fields' => array(
'report_name' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
'title' => array(
'type' => 'varchar',
'length' => 63,
'not null' => TRUE,
),
'category' => array(
'type' => 'varchar',
'length' => 255,
'not null' => FALSE,
),
'hidden' => array(
'type' => 'int',
'not null' => FALSE,
),
'cache' => array(
'type' => 'text',
),
'modified' => array(
'type' => 'int',
),
),
'primary key' => array(
'report_name',
),
'indexes' => array(
'category' => array(
'category',
),
),
);
return $schema;
}