v0.25.7 Creative bug workaround??
This commit is contained in:
parent
3530a7fddd
commit
b8fbaf6e43
@ -1,5 +1,5 @@
|
|||||||
# gossamer threads migration-import code
|
# gossamer threads migration-import code
|
||||||
# v0.25.7
|
# v0.25.8
|
||||||
|
|
||||||
require 'mysql2'
|
require 'mysql2'
|
||||||
require 'open-uri'
|
require 'open-uri'
|
||||||
@ -887,7 +887,7 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
while !topic_created
|
while !topic_created
|
||||||
begin
|
begin
|
||||||
puts "#2"
|
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}"
|
puts "CREATE TOPIC unique_title #{unique_title} title #{title} discourse_user_id #{discourse_user_id} category_id #{discourse_category_id}"
|
||||||
topic = Topic.create!(
|
topic = Topic.create!(
|
||||||
title: unique_title,
|
title: unique_title,
|
||||||
|
Loading…
Reference in New Issue
Block a user