Class: SimpleDataMigrations::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
ActiveRecord::Generators::Migration
Defined in:
lib/generators/simple_data_migrations/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_migration_fileObject



12
13
14
# File 'lib/generators/simple_data_migrations/install_generator.rb', line 12

def create_migration_file
  migration_template "install.rb.erb", "db/migrate/create_simple_data_migrations_table.rb"
end