Class: AcidicJob::Generators::DropTablesGenerator
- Inherits:
-
ActiveRecord::Generators::Base
- Object
- ActiveRecord::Generators::Base
- AcidicJob::Generators::DropTablesGenerator
- Defined in:
- lib/generators/acidic_job/drop_tables_generator.rb
Instance Method Summary collapse
-
#copy_acidic_job_runs_migration_files ⇒ Object
Copies the migration template to db/migrate.
Instance Method Details
#copy_acidic_job_runs_migration_files ⇒ Object
Copies the migration template to db/migrate.
19 20 21 22 |
# File 'lib/generators/acidic_job/drop_tables_generator.rb', line 19 def copy_acidic_job_runs_migration_files migration_template "drop_acidic_job_keys_migration.rb.erb", "db/migrate/drop_old_acidic_job_tables.rb" end |