trabajo-afectivo/db/migrate/20170515000001_scheduler_status.rb

13 lines
280 B
Ruby
Raw Normal View History

class SchedulerStatus < ActiveRecord::Migration
def up
# return if it's a new setup
return if !Setting.find_by(name: 'system_init_done')
change_table :schedulers do |t|
t.string :error_message, null: true
t.string :status, null: true
end
end
end