demarches-normaliennes/db/migrate/20170926092716_add_cron_to_delayed_jobs.rb

10 lines
189 B
Ruby
Raw Normal View History

2017-09-26 11:32:34 +02:00
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