function user_import_update_4 in User Import 8
Same name and namespace in other branches
- 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()
- 6.2 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 175 - 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;
}