discourse/script/bulk_import
Gerhard Schlager b96e5e60fa MT: Ensure bulk-imported users are approved
The generic bulk importer never wrote the `approved`, `approved_at`, or
`approved_by_id` columns, so every imported user ended up with
`approved = false` (the database default) regardless of the values in the
IntermediateDB. On sites with `must_approve_users` enabled this left
imported users stuck in the approval queue and unable to log in.

Add the columns to `USER_COLUMNS`, map them from the IntermediateDB in
`import_users`, and default `approved` to true (with `approved_at` and
`approved_by_id` fallbacks) when not provided, matching the behavior of
the per-user `ImportScripts::Base` importer.
2026-06-12 15:25:13 +02:00
..
base.rb MT: Ensure bulk-imported users are approved 2026-06-12 15:25:13 +02:00
discourse_merger.rb DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
generic_bulk.rb MT: Ensure bulk-imported users are approved 2026-06-12 15:25:13 +02:00
phpbb_postgresql.rb DEV: Enable Style/RedundantBegin rubocop rule (#40096) 2026-05-19 18:44:54 +02:00
uploads_importer.rb DEV: Enable Style/RedundantBegin rubocop rule (#40096) 2026-05-19 18:44:54 +02:00
uploads_importer.yml MT: Fix upload import issues (#39703) 2026-05-04 15:19:07 +02:00
vanilla.rb FIX: Use a valid value for disabling backups using backup_frequency (#34245) 2025-08-12 13:19:56 +08:00
vbulletin.rb DEV: Enable Style/RedundantParentheses rubocop rule (#40095) 2026-05-19 15:48:09 +02:00
vbulletin5.rb FIX: Use a valid value for disabling backups using backup_frequency (#34245) 2025-08-12 13:19:56 +08:00