You are here

function user_import_update_5 in User Import 6.2

Same name and namespace in other branches
  1. 8 user_import.install \user_import_update_5()
  2. 5 user_import.install \user_import_update_5()
  3. 6.4 user_import.install \user_import_update_5()
  4. 7 user_import.install \user_import_update_5()
  5. 7.2 user_import.install \user_import_update_5()

File

./user_import.install, line 181
Import and update users from a comma separated file (csv).

Code

function user_import_update_5() {
  $ret = array();
  db_drop_index($ret, 'user_import_errors', 'import_id');
  db_change_field($ret, 'user_import_errors', 'errors', 'errors', array(
    'type' => 'text',
    'size' => 'big',
    'not null' => TRUE,
    'serialize' => TRUE,
  ));
  db_add_index($ret, 'user_import_errors', 'import_id', array(
    'import_id',
  ));
  return $ret;
}