Add and install delayed_cron_job gem

This commit is contained in:
Mathieu Magnin 2017-09-26 11:32:34 +02:00 committed by Simon Lehericey
parent 608419701e
commit 8965c668d9
4 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,9 @@
class AddCronToDelayedJobs < ActiveRecord::Migration[5.0]
def self.up
add_column :delayed_jobs, :cron, :string
end
def self.down
remove_column :delayed_jobs, :cron
end
end