Add Job#healthy

This commit is contained in:
Dzmitry Plashchynski
2015-03-10 00:19:33 +02:00
parent 54a1b53af9
commit a24389f6cc
4 changed files with 20 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ class CreateCronoJobs < ActiveRecord::Migration
t.string :job_id, null: false
t.text :log
t.datetime :last_performed_at
t.boolean :healthy
t.timestamps null: false
end
add_index :crono_jobs, [:job_id], unique: true