Class: Orientea::CommandGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/orientea/command/command_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_migrationObject

desc “rails g orientea:command”



5
6
7
# File 'lib/generators/orientea/command/command_generator.rb', line 5

def create_migration
  migration_template 'create_command.rb', 'db/migrate/create_command_table.rb'
end