Class: AbingoMigrationGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/abingo_migration/abingo_migration_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_migrationObject



4
5
6
# File 'lib/generators/abingo_migration/abingo_migration_generator.rb', line 4

def generate_migration
  copy_file "create_abingo_tables.rb", "db/migrate/#{migration_timestamp}_create_abingo_tables.rb" 
end