function profile_update_7002

7.x profile.install profile_update_7002()

Change the weight column to normal int.

File

drupal-7.x/modules/profile/profile.install, line 165
Install, update and uninstall functions for the profile module.

Code

function profile_update_7002() {
  db_change_field('profile_field', 'weight', 'weight', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'description' => 'Weight of field in relation to other profile fields.',
  ));
}