function sharethis_schema in ShareThis 7
Implements hook_schema().
This defines the database implementation that will be used by the ShareThis module.
File
- ./
sharethis.install, line 47 - This file holds the install information for the ShareThis Module.
Code
function sharethis_schema() {
$schema['st_table'] = array(
'description' => 'A table used by the ShareThis Module',
'fields' => array(
'st_option' => array(
'description' => 'A ShareThis option',
'type' => 'varchar',
'length' => 100,
'not null' => TRUE,
'default' => '',
),
'st_value' => array(
'description' => 'The option value as a string.',
'type' => 'varchar',
'length' => 2000,
'not null' => TRUE,
'default' => '',
),
),
'primary key' => array(
'st_option',
),
);
return $schema;
}