You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/db/migrate/20200309071103_migrate_memb...

6 lines
172 B

class MigrateMemberAttendanceMode < ActiveRecord::Migration[5.2]
def change
CourseMemberAttendance.where(attendance_mode: 3).update_all(attendance_mode: 4)
end
end