10 lines
189 B
Ruby
10 lines
189 B
Ruby
|
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
|