You are here

function user_import_update_6003 in User Import 8

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

Change the Roles column to LOMGTEXT.

File

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

Code

function user_import_update_6003() {
  $ret = array();
  db_change_field($ret, 'user_import', 'roles', 'roles', array(
    'type' => 'text',
    'size' => 'big',
    'not null' => TRUE,
    'serialize' => TRUE,
  ));
  return $ret;
}