function jammer_messages_schema in Jammer 7
Same name and namespace in other branches
- 6 jammer_messages.install \jammer_messages_schema()
Implements hook_schema().
File
- ./
jammer_messages.install, line 11 - Install, uninstall and update hooks for the Masquarade module.
Code
function jammer_messages_schema() {
$schema['jammer_messages'] = array(
'description' => '',
'fields' => array(
'mid' => array(
'description' => 'The primary identifier for suppression strings.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
),
'message_string' => array(
'description' => 'Partial or full string to suppress.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
),
'primary key' => array(
'mid',
'message_string',
),
);
return $schema;
}