function profile_update_7001

Rename {profile_fields} table to {profile_field} and {profile_values} to {profile_value}.

File

modules/profile/profile.install, line 157

Code

function profile_update_7001() {
    db_rename_table('profile_fields', 'profile_field');
    db_rename_table('profile_values', 'profile_value');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.