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.
10 lines
392 B
10 lines
392 B
class MigrateCourseLateSettings < ActiveRecord::Migration[5.2]
|
|
def change
|
|
change_column_default :homework_commons, :allow_late, from: 1, to: 0
|
|
change_column_default :homework_commons, :late_penalty, from: 5, to: 0
|
|
|
|
change_column_default :graduation_tasks, :allow_late, from: 1, to: 0
|
|
change_column_default :graduation_tasks, :late_penalty, from: 5, to: 0
|
|
end
|
|
end
|