function user_import_update_5 in User Import 8
Same name and namespace in other branches
- 5 user_import.install \user_import_update_5()
- 6.4 user_import.install \user_import_update_5()
- 6.2 user_import.install \user_import_update_5()
- 7 user_import.install \user_import_update_5()
- 7.2 user_import.install \user_import_update_5()
File
- ./
user_import.install, line 184 - 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;
}