forena.install in Forena Reports 8
Same filename and directory in other branches
Installation api for module
File
forena.installView source
<?php
// $Id$
/**
* @file
* Installation api for module
*/
/**
* Implementation of hook_schema
*
* @return unknown
*/
function forena_schema() {
$schema['forena_repositories'] = array(
'fields' => array(
'repository' => array(
'type' => 'varchar',
'length' => '63',
'not null' => TRUE,
),
'title' => array(
'type' => 'varchar',
'length' => '63',
),
'enabled' => array(
'type' => 'int',
'not null' => TRUE,
),
'config' => array(
'type' => 'text',
),
),
'primary_key' => array(
'repository',
),
);
return $schema;
}
Functions
Name | Description |
---|---|
forena_schema | Implementation of hook_schema |