blob: 169608d253a54fec07dcfbd4ba19b64cf59ad460 (
plain)
1
2
3
4
5
6
7
|
class FixSpellingOfLaboratory < ActiveRecord::Migration[6.1]
def change
HearthAmenity.find_by_gid("labratory")&.update(gid: "laboratory")
Activity.find_by_gid("construct_labratory_level1")&.update(gid: "construct_laboratory_level1")
Activity.find_by_gid("construct_labratory_level2")&.update(gid: "construct_laboratory_level2")
end
end
|