educoder/db/migrate/20190802105008_tranfer_tidi...

6 lines
175 B

class TranferTidingData < ActiveRecord::Migration[5.2]
def change
Tiding.where(container_type: 'ApplyAddSchool').update_all(container_type: 'ApplyAddSchools')
end
end