Class: AcidicJob::Generators::DropTablesGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
ActiveRecord::Generators::Migration
Defined in:
lib/generators/acidic_job/drop_tables_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_migrationObject



13
14
15
16
17
# File 'lib/generators/acidic_job/drop_tables_generator.rb', line 13

def copy_migration
  migration_template "drop_acidic_job_keys_migration.rb.erb",
                     "db/migrate/drop_old_acidic_job_tables.rb",
                     migration_version: migration_version
end