function mail_logger_update_7006 in Mail Logger 7
Expand 'mailto' column.
File
- ./
mail_logger.install, line 257 - Install, update and uninstall functions for the mail_logger module.
Code
function mail_logger_update_7006() {
db_drop_index('mail_logger', 'mailto');
db_change_field('mail_logger', 'mailto', 'mailto', array(
'description' => 'to whom this mail is going',
'type' => 'text',
'size' => 'medium',
'not null' => TRUE,
), array(
'mailto' => array(
array(
'mailto',
200,
),
),
));
return t('The Mail_logger "mailto" column has been expanded.');
}