demarches-normaliennes/db/migrate/20170926092716_add_cron_to_delayed_jobs.rb
2017-09-27 16:47:32 +02:00

9 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