function redirect_update_7104 in Redirect 7
Same name and namespace in other branches
- 7.2 redirect.install \redirect_update_7104()
Add an index on the redirect column in the redirect table.
File
- ./
redirect.install, line 480 - Install, update and uninstall functions for the redirect module.
Code
function redirect_update_7104() {
if (!db_index_exists('redirect', 'redirect')) {
db_add_index('redirect', 'redirect', array(
'redirect',
));
}
}