v0.58 Final user import and personal message import run

This commit is contained in:
David Sainty 2024-09-01 01:24:10 +10:00
parent 3bcc263282
commit c8e7ba97bb

View File

@ -2042,25 +2042,25 @@ class GossamerForumsImporter < ImportScripts::Base
puts "Starting Gossamer Forums import... #{timestamp}"
# add_former_user
import_users
### add_former_user
### import_users
generate_user_id_mapping
export_username_mapping_to_csv("/bitnami/discourse/sqlite/gossamer-migration-username-mapping#{timestamp}")
### 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
### import_categories
## import_topics_and_posts
# threaded_topic_import
### update_topic_stats
### update_user_stats
#### export_url_mapping_to_csv("/bitnami/discourse/sqlite/gossamer-migration-url-mapping#{timestamp}")
#### export_nginx_rewrite_rules("/bitnami/discourse/sqlite/gossamer-redirects#{timestamp}.conf")
### export_url_mapping_to_csv("/bitnami/discourse/sqlite/gossamer-migration-url-mapping#{timestamp}")
### export_nginx_rewrite_rules("/bitnami/discourse/sqlite/gossamer-redirects#{timestamp}.conf")
##### update_existing_personal_message_activity
#### update_existing_personal_message_activity
import_personal_messages
puts "Gossamer Forums import complete! #{timestamp}"