canvas-lms/db/migrate/20190618130310_change_faile...

14 lines
273 B
Ruby

# frozen_string_literal: true
class ChangeFailedJobsHandlerToText < ActiveRecord::Migration[5.1]
tag :predeploy
def up
change_column :failed_jobs, :handler, :text
end
def down
change_column :failed_jobs, :handler, :string, limit: 500.kilobytes
end
end