function user_import_update_4 in User Import 6.2
Same name and namespace in other branches
- 8 user_import.install \user_import_update_4()
- 5.2 user_import.install \user_import_update_4()
- 5 user_import.install \user_import_update_4()
- 6.4 user_import.install \user_import_update_4()
- 7 user_import.install \user_import_update_4()
- 7.2 user_import.install \user_import_update_4()
File
- ./
user_import.install, line 173 - Import and update users from a comma separated file (csv).
Code
function user_import_update_4() {
$ret = array();
db_drop_index($ret, 'user_import_errors', 'import_id');
db_change_field($ret, 'user_import_errors', 'error', '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;
}