v0.25.2 Bugfixing...
This commit is contained in:
parent
2627530d48
commit
eb929daca5
@ -1,5 +1,5 @@
|
||||
# gossamer threads migration-import code
|
||||
# v0.25.1
|
||||
# v0.25.2
|
||||
|
||||
require 'mysql2'
|
||||
require 'open-uri'
|
||||
@ -839,6 +839,9 @@ class GossamerForumsImporter < ImportScripts::Base
|
||||
highest_processed_post_id = fetch_highest_processed_post_id.to_i
|
||||
puts "Highest processed post_id: #{highest_processed_post_id}"
|
||||
|
||||
# OVERRIDE........
|
||||
highest_processed_post_id = 1357010
|
||||
|
||||
# Execute the query to get all posts ordered by post_id
|
||||
execute_query("SELECT * FROM gforum_Post ORDER BY post_id").each do |row|
|
||||
post_id = row['post_id'].to_i
|
||||
|
Loading…
Reference in New Issue
Block a user