v0.35.1 No code fixes

This commit is contained in:
David Sainty 2024-07-19 19:11:59 +10:00
parent 4e2902e941
commit 78d832f2a8

View File

@ -1,5 +1,5 @@
# gossamer threads migration-import code
# v0.35
# v0.35.1
require 'mysql2'
require 'open-uri'
@ -1307,19 +1307,19 @@ class GossamerForumsImporter < ImportScripts::Base
puts "Starting Gossamer Forums import... #{timestamp}"
# add_former_user
# import_users
# export_username_mapping_to_csv("gossamer-migration-username-mapping#{timestamp}")
add_former_user
import_users
export_username_mapping_to_csv("gossamer-migration-username-mapping#{timestamp}")
# import_categories
import_categories
# import_topics_and_posts_with_attachments
import_topics_and_posts_with_attachments
update_topic_stats
update_user_stats
export_url_mapping_to_csv("gossamer-migration-url-mapping#{timestamp}")
create_nginx_rewrite_rules("gossamer-redirects#{timestamp}.conf")
# import_personal_messages
import_personal_messages
puts "Gossamer Forums import complete! #{timestamp}"
end