Exception: Sequel::IllegalMigrationNameError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/generators/sequel/migration/migration_generator.rb,
lib/generators/sequel/session_migration/session_migration_generator.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ IllegalMigrationNameError

Returns a new instance of IllegalMigrationNameError.



5
6
7
# File 'lib/generators/sequel/migration/migration_generator.rb', line 5

def initialize(name)
  super("Illegal name for migration file: #{name} (only lower case letters, numbers, and '_' allowed)")
end