20170515000001_scheduler_status.rb 285 B

123456789101112
  1. class SchedulerStatus < ActiveRecord::Migration[4.2]
  2. def up
  3. # return if it's a new setup
  4. return if !Setting.find_by(name: 'system_init_done')
  5. change_table :schedulers do |t|
  6. t.string :error_message, null: true
  7. t.string :status, null: true
  8. end
  9. end
  10. end