class

ActiveRecord::MismatchedForeignKey

v7.1.3.2 - Show latest stable - Superclass: ActiveRecord::StatementInvalid

Raised when a foreign key constraint cannot be added because the column type does not match the referenced column type.

Files

  • activerecord/lib/active_record/errors.rb