From b341ca3f51181395c4b79cf60bb0b8e597bffc36 Mon Sep 17 00:00:00 2001 From: saint Date: Thu, 4 Jul 2024 23:08:52 +1000 Subject: [PATCH] v0.27 Prep to test code after post import --- gossamer_forums.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")