Exception: ActiveRecord::ConcurrentMigrationError

Inherits:
MigrationError show all
Defined in:
lib/active_record/migration.rb

Overview

:nodoc:

Constant Summary collapse

DEFAULT_MESSAGE =
"Cannot run migrations because another migration process is currently running.".freeze
RELEASE_LOCK_FAILED_MESSAGE =
"Failed to release advisory lock".freeze

Instance Method Summary collapse

Constructor Details

#initialize(message = DEFAULT_MESSAGE) ⇒ ConcurrentMigrationError

Returns a new instance of ConcurrentMigrationError.



145
146
147
# File 'lib/active_record/migration.rb', line 145

def initialize(message = DEFAULT_MESSAGE)
  super
end