Remove print statements from data migration (#105)

This commit is contained in:
Justin Edmund 2023-06-19 04:13:58 -07:00 committed by GitHub
parent 7329dae243
commit 4654ea362b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,11 +12,8 @@ class MigrateAwakeningTypeToNewAwakeningType < ActiveRecord::Migration[7.0]
'weapon-special'
end
ap "#{weapon.weapon.name_en}: #{slug}"
new_awakening = Awakening.find_by(slug: slug)
weapon.awakening_id = new_awakening.id
ap weapon.awakening_id
weapon.save!
end
end