From 93d6a8f17e44feec14ae7382b780d4bc7f825d31 Mon Sep 17 00:00:00 2001 From: cocococosti Date: Tue, 22 Oct 2024 12:48:18 -0400 Subject: [PATCH] Adding titles import --- script/bulk_import/base.rb | 1 + script/bulk_import/generic_bulk.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/script/bulk_import/base.rb b/script/bulk_import/base.rb index 0ef8aef9a2e..6720e98b0fd 100644 --- a/script/bulk_import/base.rb +++ b/script/bulk_import/base.rb @@ -510,6 +510,7 @@ class BulkImport::Base created_at updated_at flair_group_id + title ] USER_EMAIL_COLUMNS = %i[id user_id email primary created_at updated_at] diff --git a/script/bulk_import/generic_bulk.rb b/script/bulk_import/generic_bulk.rb index 459aa5f4153..4354b2a6898 100644 --- a/script/bulk_import/generic_bulk.rb +++ b/script/bulk_import/generic_bulk.rb @@ -519,6 +519,7 @@ class BulkImport::Generic < BulkImport::Base date_of_birth: to_date(row["date_of_birth"]), trust_level: row["trust_level"], flair_group_id: row["flair_group_id"], + title: row["title"], } end