function smtp_schema in SMTP Authentication Support 7.2
Implements hook_schema().
File
- ./
smtp.install, line 39 - The installation instructions for the SMTP Authentication Support.
Code
function smtp_schema() {
$schema['smtp_selection_criteria'] = array(
'description' => 'Stores criterias for provider selection.',
'fields' => array(
'cid' => array(
'type' => 'serial',
'size' => 'big',
'unsigned' => TRUE,
'not null' => TRUE,
),
'provider' => array(
'type' => 'varchar',
'length' => 64,
'not null' => TRUE,
),
'message_module' => array(
'type' => 'varchar',
'length' => 255,
),
'message_key' => array(
'type' => 'varchar',
'length' => 255,
),
'message_language' => array(
'type' => 'varchar',
'length' => 12,
),
'weight' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
),
'primary key' => array(
'cid',
),
);
return $schema;
}