From 061aaba9fe345f7fec72525039defcfa803b4296 Mon Sep 17 00:00:00 2001 From: saint Date: Sat, 17 Aug 2024 02:22:25 +1000 Subject: [PATCH] v0.39.4 Add SQLite table for tracking successful post importation; Split out user import into three separate callable methods; require sys/proctable --- gossamer_forums.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 820b8ea..c72076e 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1,7 +1,7 @@ # Federated Computer, Inc. # David Sainty 2024 A.D. # Gossamer Threads to Discourse -- Migration-Import Script -# v0.39.3 Add SQLite table for tracking successful post importation; Split out user import into three separate callable methods; require sys/proctable +# v0.39.4 Add SQLite table for tracking successful post importation; Split out user import into three separate callable methods; require sys/proctable require 'mysql2' require 'open-uri' @@ -663,6 +663,7 @@ class GossamerForumsImporter < ImportScripts::Base bio_raw: row['user_about'] || "", website: row['user_homepage'], location: row['user_location'], + custom_fields: { md5_password: row['user_password'], original_username: row['user_username'], original_gossamer_id: row['user_id']