Class: Torque::PostgreSQL::IllegalCommandTypeError

Inherits:
ActiveRecord::MigrationError
  • Object
show all
Defined in:
lib/torque/postgresql/versioned_commands/migration_context.rb

Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ IllegalCommandTypeError



6
7
8
9
10
11
12
13
# File 'lib/torque/postgresql/versioned_commands/migration_context.rb', line 6

def initialize(file)
  super("    Illegal name for command file '\#{file}'. Commands are more strict and require\n    the version, one of create, update, or remove, type of object, name\n    and operation version to be present in the filename.\n    (e.g. 20250101010101_create_function_my_function_v1.sql)\n  MSG\nend\n".squish)