Class: Rodauth::Rails::Generators::MigrationGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Rodauth::Rails::Generators::MigrationGenerator
- Includes:
- ActiveRecord::Generators::Migration, Rails::Generators::Migration
- Defined in:
- lib/generators/rodauth/migration_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_rodauth_migration ⇒ Object
19 20 21 22 23 |
# File 'lib/generators/rodauth/migration_generator.rb', line 19 def create_rodauth_migration validate_features or return migration_template "db/migrate/create_rodauth.rb", File.join(db_migrate_path, "#{migration_name}.rb") end |