You are here

function user_import_update_7200 in User Import 7.2

Same name and namespace in other branches
  1. 8 user_import.install \user_import_update_7200()
  2. 7.3 user_import.install \user_import_update_7200()
  3. 7 user_import.install \user_import_update_7200()

Add database field to store the name of a directory associated with an import template.

File

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

Code

function user_import_update_7200(&$sandbox) {
  $field = array(
    'description' => t("Name of directory associated with an import template."),
    'type' => 'varchar',
    'length' => '255',
    'not null' => TRUE,
    'default' => '',
  );
  db_add_field('user_import', 'auto_import_directory', $field);
}