Class: DelayedJob::UpgradeGenerator

Inherits:
DelayedJobGenerator
  • Object
show all
Extended by:
ActiveRecord::Generators::Migration
Includes:
Rails::Generators::Migration
Defined in:
lib/generators/delayed_job/upgrade_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_migration_fileObject



13
14
15
# File 'lib/generators/delayed_job/upgrade_generator.rb', line 13

def create_migration_file
  migration_template 'upgrade_migration.rb', 'db/migrate/add_queue_to_delayed_jobs.rb'
end