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.
|
class AddIsPublicToGraduationTask < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :graduation_tasks, :is_public, :boolean, default: false
|
|
add_column :graduation_tasks, :late_time, :datetime
|
|
|
|
GraduationTask.where(status: 3).update_all(status: 4)
|
|
end
|
|
end
|