You are here

function profile_update_7002 in Drupal 7

Change the weight column to normal int.

File

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.',
  ));
}