class MismatchedForeignKey
Ruby on Rails 7.2.3
Since v5.2.8.1Raised when a foreign key constraint cannot be added because the column type does not match the referenced column type.
Inherits from
Methods (defined here)
Methods (inherited)
From ActiveRecord::StatementInvalid (2)
From ActiveRecord::AdapterError (1)
- self. new