v0.58 Final user import and personal message import run
This commit is contained in:
parent
f27447bbc1
commit
e468a356ff
@ -666,7 +666,8 @@ class GossamerForumsImporter < ImportScripts::Base
|
||||
users = []
|
||||
|
||||
# Fetch all users from Gossamer Forums
|
||||
execute_query("SELECT * FROM gforum_User").each do |row|
|
||||
# execute_query("SELECT * FROM gforum_User").each do |row|
|
||||
execute_query("SELECT user_id, user_username, user_email, user_real_name, user_registered, user_last_seen, user_title, user_about, user_homepage, user_location, user_password FROM gforum_User WHERE user_id > 123381").each do |row|
|
||||
users << {
|
||||
id: row['user_id'],
|
||||
username: sanitize_username(row['user_username'], row['user_email'], row['user_real_name']),
|
||||
@ -710,7 +711,8 @@ class GossamerForumsImporter < ImportScripts::Base
|
||||
users = []
|
||||
|
||||
# Fetch all users from Gossamer Forums
|
||||
execute_query("SELECT * FROM gforum_User").each do |row|
|
||||
# execute_query("SELECT * FROM gforum_User").each do |row|
|
||||
execute_query("SELECT user_id, user_username, user_email, user_real_name, user_registered, user_last_seen, user_title, user_about, user_homepage, user_location, user_password FROM gforum_User WHERE user_id > 123381").each do |row|
|
||||
users << {
|
||||
id: row['user_id'],
|
||||
username: sanitize_username(row['user_username'], row['user_email'], row['user_real_name']),
|
||||
@ -2044,7 +2046,7 @@ class GossamerForumsImporter < ImportScripts::Base
|
||||
generate_user_id_mapping
|
||||
export_username_mapping_to_csv("/bitnami/discourse/sqlite/gossamer-migration-username-mapping#{timestamp}")
|
||||
|
||||
# set_user_bio_images
|
||||
set_user_bio_images
|
||||
|
||||
# import_categories
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user