class ChangeDefaultToMaxNum < ActiveRecord::Migration[5.2]
def change
change_column :graduation_tasks, :max_num, :integer, default: 5
end