Import steps correctly
This commit is contained in:
committed by
Mike Dalessio
parent
f6ec9bbeea
commit
84d1fb6827
@@ -358,6 +358,7 @@ class Import
|
|||||||
|
|
||||||
batch.each do |old_step|
|
batch.each do |old_step|
|
||||||
steps_to_insert << {
|
steps_to_insert << {
|
||||||
|
id: generate_uuid,
|
||||||
account_id: account.id,
|
account_id: account.id,
|
||||||
card_id: mapping[:cards][old_step.card_id],
|
card_id: mapping[:cards][old_step.card_id],
|
||||||
content: old_step.content,
|
content: old_step.content,
|
||||||
|
|||||||
Reference in New Issue
Block a user