educoder/db/migrate/20191024075134_migrate_comp...

6 lines
172 B

class MigrateCompetitionModuleManual < ActiveRecord::Migration[5.2]
def change
CompetitionModule.where(module_type: "manual").update_all(module_type: "md")
end
end