Class: TextSearch::MigrationGenerator
- Inherits:
-
ActiveRecord::Generators::Base
- Object
- ActiveRecord::Generators::Base
- TextSearch::MigrationGenerator
- Defined in:
- lib/generators/migration.rb
Instance Method Summary collapse
Instance Method Details
#create_migration_file ⇒ Object
9 10 11 |
# File 'lib/generators/migration.rb', line 9 def create_migration_file migration_template "migration.rb", "db/migrate/#{file_name}.rb" end |