mirror of
https://github.com/plashchynski/crono.git
synced 2026-03-20 08:34:41 +01:00
add data to Cron.perform which will be passed to ExampleJob.new(data).perform
This commit is contained in:
@@ -5,6 +5,7 @@ class CreateCronoJobs < ActiveRecord::Migration
|
||||
t.text :log
|
||||
t.datetime :last_performed_at
|
||||
t.boolean :healthy
|
||||
t.text :data
|
||||
t.timestamps null: false
|
||||
end
|
||||
add_index :crono_jobs, [:job_id], unique: true
|
||||
|
||||
Reference in New Issue
Block a user