Sha256: d6223a012ac6f7ed39d8f43e0668b2fdb4a57b8c7befc89b161fa45473dcb182
Contents?: true
Size: 422 Bytes
Versions: 17
Compression:
Stored size: 422 Bytes
Contents
# This migration comes from erp_tech_svcs (originally 20130410135419) class AddQueueToDelayedJobs < ActiveRecord::Migration def up unless columns(:delayed_jobs).collect {|c| c.name}.include?('queue') add_column :delayed_jobs, :queue, :string end end def down if columns(:delayed_jobs).collect {|c| c.name}.include?('queue') remove_column :delayed_jobs, :queue, :string end end end
Version data entries
17 entries across 17 versions & 5 rubygems