v0.26.1 Modify upload attachment code to try and make Discourse happy

This commit is contained in:
David Sainty 2024-07-02 19:48:46 +10:00
parent ffe059a701
commit 382fd239a2

View File

@ -850,7 +850,7 @@ class GossamerForumsImporter < ImportScripts::Base
puts "Highest processed post_id: #{highest_processed_post_id}" puts "Highest processed post_id: #{highest_processed_post_id}"
# OVERRIDE........ # OVERRIDE........
highest_processed_post_id = 1357010 highest_processed_post_id = 1359862
# Execute the query to get all posts ordered by post_id # Execute the query to get all posts ordered by post_id
execute_query("SELECT * FROM gforum_Post ORDER BY post_id").each do |row| execute_query("SELECT * FROM gforum_Post ORDER BY post_id").each do |row|