function profile_update_7001 in Drupal 7
Rename {profile_fields} table to {profile_field} and {profile_values} to {profile_value}.
File
- modules/
profile/ profile.install, line 157 - Install, update and uninstall functions for the profile module.
Code
function profile_update_7001() {
db_rename_table('profile_fields', 'profile_field');
db_rename_table('profile_values', 'profile_value');
}