Exception: ActiveRecord::ConcurrentMigrationError
- Inherits:
-
MigrationError
- Object
- StandardError
- ActiveRecordError
- MigrationError
- ActiveRecord::ConcurrentMigrationError
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/migration.rb
Overview
:nodoc:
Constant Summary collapse
- DEFAULT_MESSAGE =
"Cannot run migrations because another migration process is currently running."
- RELEASE_LOCK_FAILED_MESSAGE =
"Failed to release advisory lock"
Instance Method Summary collapse
-
#initialize(message = DEFAULT_MESSAGE) ⇒ ConcurrentMigrationError
constructor
A new instance of ConcurrentMigrationError.
Constructor Details
#initialize(message = DEFAULT_MESSAGE) ⇒ ConcurrentMigrationError
Returns a new instance of ConcurrentMigrationError.
172 173 174 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/migration.rb', line 172 def initialize( = DEFAULT_MESSAGE) super end |