Voile.Migration.UserImporter (Voile v0.1.31)

Copy Markdown View Source

Imports user data from CSV files with optimized streaming and batch processing.

Expected CSV structure:

  • scripts/csv_data/user/user.csv

Summary

Types

cache()

@type cache() :: %{
  roles: map(),
  member_type: struct() | nil,
  node: struct() | nil,
  existing_emails: MapSet.t()
}

Functions

import_all(batch_size \\ 1000)