function user_external_invite_update_7002 in User External Invite 7
Same name and namespace in other branches
- 7.2 user_external_invite.install \user_external_invite_update_7002()
- 1.0.x user_external_invite.install \user_external_invite_update_7002()
Add index to expire field.
File
- ./
user_external_invite.install, line 140 - Set-up database schema and install tasks for user_external_invite module.
Code
function user_external_invite_update_7002() {
if (db_field_exists('user_external_invite', 'expire')) {
db_add_index('user_external_invite', 'invite_expired', array(
'expire',
));
}
}