function wysiwyg_schema in Wysiwyg 6
Same name and namespace in other branches
- 6.2 wysiwyg.install \wysiwyg_schema()
- 7.2 wysiwyg.install \wysiwyg_schema()
Implementation of hook_schema().
File
- ./
wysiwyg.install, line 6
Code
function wysiwyg_schema() {
$schema = array();
$schema['wysiwyg'] = array(
'description' => t('Stores Wysiwyg profiles.'),
'fields' => array(
'format' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'editor' => array(
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
),
'settings' => array(
'type' => 'text',
'size' => 'normal',
),
),
'primary key' => array(
'format',
),
);
return $schema;
}