v0.42.1 Rewrite and simplication of concurrent-ruby support
This commit is contained in:
parent
fed7a8935e
commit
ccff9b1b64
@ -1280,7 +1280,7 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
created_at: Time.at(row['post_time']),
|
created_at: Time.at(row['post_time']),
|
||||||
updated_at: Time.at(row['post_time']),
|
updated_at: Time.at(row['post_time']),
|
||||||
reads: post_views || 0,
|
reads: post_views || 0,
|
||||||
post_number: post_number
|
# post_number: post_number
|
||||||
)
|
)
|
||||||
post.custom_fields['original_gossamer_id'] = row['post_id']
|
post.custom_fields['original_gossamer_id'] = row['post_id']
|
||||||
post.save!
|
post.save!
|
||||||
@ -1332,7 +1332,7 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
created_at: Time.at(reply_row['post_time']),
|
created_at: Time.at(reply_row['post_time']),
|
||||||
updated_at: Time.at(reply_row['post_time']),
|
updated_at: Time.at(reply_row['post_time']),
|
||||||
reads: reply_post_views || 0,
|
reads: reply_post_views || 0,
|
||||||
post_number: post_number
|
# post_number: post_number
|
||||||
)
|
)
|
||||||
post.custom_fields['original_gossamer_id'] = reply_row['post_id']
|
post.custom_fields['original_gossamer_id'] = reply_row['post_id']
|
||||||
post.save!
|
post.save!
|
||||||
|
Loading…
Reference in New Issue
Block a user