diff --git a/gossamer_forums.rb b/gossamer_forums.rb index d140b4a..d10116c 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1,5 +1,5 @@ # gossamer threads migration-import code -# v0.26.3 +# v0.27 require 'mysql2' require 'open-uri' @@ -872,7 +872,7 @@ class GossamerForumsImporter < ImportScripts::Base puts "Highest processed post_id: #{highest_processed_post_id}" # OVERRIDE........ - highest_processed_post_id = 1359862 +# Attachment example: highest_processed_post_id = 1359862 # Execute the query to get all posts ordered by post_id execute_query("SELECT * FROM gforum_Post ORDER BY post_id").each do |row| @@ -1208,7 +1208,7 @@ class GossamerForumsImporter < ImportScripts::Base # import_categories - import_topics_and_posts_with_attachments +# import_topics_and_posts_with_attachments update_topic_and_user_stats export_url_mapping_to_csv("gossamer-migration-url-mapping#{timestamp}") create_nginx_rewrite_rules("gossamer-redirects#{timestamp}.conf")