Class: Neo4j::Generators::MigrationGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Includes:
MigrationHelper, SourcePathHelper
Defined in:
lib/rails/generators/neo4j/migration/migration_generator.rb

Instance Method Summary collapse

Methods included from MigrationHelper

#base_migration_file_name, #existing_migration, #migration_file_name, #migration_lookup_at, #migration_template

Instance Method Details

#create_migration_fileObject



9
10
11
# File 'lib/rails/generators/neo4j/migration/migration_generator.rb', line 9

def create_migration_file
  migration_template 'migration.erb'
end