function calendar_systems_schema in Calendar Systems 7.3
Same name and namespace in other branches
- 8 calendar_systems.install \calendar_systems_schema()
- 6.3 calendar_systems.install \calendar_systems_schema()
- 6 calendar_systems.install \calendar_systems_schema()
- 7 calendar_systems.install \calendar_systems_schema()
- 7.2 calendar_systems.install \calendar_systems_schema()
Implements hook_schema().
File
- ./
calendar_systems.install, line 11 - Contains Calendar Systems installation hooks.
Code
function calendar_systems_schema() {
$schema = array();
$schema['calendar_systems'] = array(
'description' => 'Stores calendar systems profiles.',
'fields' => array(
'language' => array(
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
),
'calendar_system' => array(
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
),
'settings' => array(
'type' => 'text',
'size' => 'normal',
),
),
'primary key' => array(
'language',
),
);
return $schema;
}