Class: Roleplayer::Generators::MigrationGenerator

Inherits:
Base
  • Object
show all
Includes:
Rails::Generators::Migration
Defined in:
lib/generators/roleplayer/migration/migration_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from Base

next_migration_number, source_root

Instance Method Details

#create_migration_fileObject



8
9
10
# File 'lib/generators/roleplayer/migration/migration_generator.rb', line 8

def create_migration_file
  migration_template "migration.rb", "db/migrate/roleplayer_migration"
end