class MismatchedForeignKey
Ruby on Rails 6.1.7.10
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)
- self. new
Methods (inherited)
From ActiveRecord::StatementInvalid (1)
- self. new