function user_email_verification_update_7001 in User email verification 7
Modifies the schema to allow sending reminders.
File
- ./
user_email_verification.install, line 83 - The module installation functions.
Code
function user_email_verification_update_7001() {
db_add_field('user_email_verification', 'last_reminder', array(
'type' => 'int',
'description' => 'Last notification timestamp.',
'not null' => TRUE,
'unsigned' => TRUE,
'default' => 0,
), array(
'indexes' => array(
'inx_last_reminder' => array(
'last_reminder',
),
),
));
db_add_field('user_email_verification', 'reminders', array(
'type' => 'int',
'description' => 'Number of reminders sent.',
'not null' => TRUE,
'unsigned' => TRUE,
'default' => 0,
));
}