v0.39.4 Add SQLite table for tracking successful post importation; Split out user import into three separate callable methods; require sys/proctable
This commit is contained in:
parent
44d673ffaa
commit
061aaba9fe
@ -1,7 +1,7 @@
|
|||||||
# Federated Computer, Inc.
|
# Federated Computer, Inc.
|
||||||
# David Sainty <saint@federated.computer> 2024 A.D.
|
# David Sainty <saint@federated.computer> 2024 A.D.
|
||||||
# Gossamer Threads to Discourse -- Migration-Import Script
|
# 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 'mysql2'
|
||||||
require 'open-uri'
|
require 'open-uri'
|
||||||
@ -663,6 +663,7 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
bio_raw: row['user_about'] || "",
|
bio_raw: row['user_about'] || "",
|
||||||
website: row['user_homepage'],
|
website: row['user_homepage'],
|
||||||
location: row['user_location'],
|
location: row['user_location'],
|
||||||
|
custom_fields: {
|
||||||
md5_password: row['user_password'],
|
md5_password: row['user_password'],
|
||||||
original_username: row['user_username'],
|
original_username: row['user_username'],
|
||||||
original_gossamer_id: row['user_id']
|
original_gossamer_id: row['user_id']
|
||||||
|
Loading…
Reference in New Issue
Block a user