Class: YeetDba::ForeignKeyMigrationGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- YeetDba::ForeignKeyMigrationGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/yeet_dba/foreign_key_migration_generator.rb
Overview
Custom scaffolding generator
Instance Method Summary collapse
Instance Method Details
#copy_migration_and_spec_files ⇒ Object
10 11 12 13 14 |
# File 'lib/generators/yeet_dba/foreign_key_migration_generator.rb', line 10 def copy_migration_and_spec_files migration_template 'add_foreign_keys_yeet_dba.rb', migration_file, migration_version: migration_version end |