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

13 lines
285 B
Ruby
Raw Normal View History

2017-09-07 13:06:51 +00:00
class SchedulerStatus < ActiveRecord::Migration[4.2]
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