calendar_systems.install in Calendar Systems 6
File
calendar_systems.install
View source
<?php
function calendar_systems_schema() {
$schema = array();
$schema['calendar_systems'] = array(
'description' => t('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;
}
function calendar_systems_install() {
drupal_install_schema('calendar_systems');
}
function calendar_systems_uninstall() {
drupal_uninstall_schema('calendar_systems');
}
function calendar_systems_enable() {
}