v0.42.1 Rewrite and simplication of concurrent-ruby support
This commit is contained in:
parent
e217447a48
commit
6edd8a985d
@ -1280,8 +1280,8 @@ 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,8 +1332,8 @@ 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