Add and install delayed_cron_job gem
This commit is contained in:
parent
608419701e
commit
8965c668d9
4 changed files with 15 additions and 1 deletions
9
db/migrate/20170926092716_add_cron_to_delayed_jobs.rb
Normal file
9
db/migrate/20170926092716_add_cron_to_delayed_jobs.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue