function bueditor_plus_schema in BUEditor Plus 7.2
Same name and namespace in other branches
- 7 bueditor_plus.install \bueditor_plus_schema()
Implements hook_schema().
File
- ./
bueditor_plus.install, line 11 - Install, update and uninstall functions for the bueditor_plus module.
Code
function bueditor_plus_schema() {
$schema['bueditor_plus_profiles'] = array(
'description' => 'ID of the Profile',
'fields' => array(
'pid' => array(
'description' => 'Profile ID',
'type' => 'serial',
'not null' => TRUE,
),
'name' => array(
'description' => 'Profile Name',
'type' => 'varchar',
'length' => '64',
'not null' => TRUE,
),
'data' => array(
'description' => 'Profile Data',
'type' => 'blob',
'size' => 'big',
'not null' => TRUE,
),
'global' => array(
'description' => 'Boolean indicating if this is the global profile',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
),
'primary key' => array(
'pid',
),
);
return $schema;
}