v0.25.7 Creative bug workaround??

This commit is contained in:
David Sainty 2024-07-02 19:10:54 +10:00
parent 3530a7fddd
commit b8fbaf6e43

View File

@ -1,5 +1,5 @@
# gossamer threads migration-import code
# v0.25.7
# v0.25.8
require 'mysql2'
require 'open-uri'
@ -887,7 +887,7 @@ class GossamerForumsImporter < ImportScripts::Base
while !topic_created
begin
puts "#2"
unique_title = generate_unique_title(title, discourse_user_id, Time.at(row['post_time']))
# unique_title = generate_unique_title(title, discourse_user_id, Time.at(row['post_time']))
puts "CREATE TOPIC unique_title #{unique_title} title #{title} discourse_user_id #{discourse_user_id} category_id #{discourse_category_id}"
topic = Topic.create!(
title: unique_title,