Class: DatabaseConsistency::Checkers::MissingIndexChecker

Inherits:
AssociationChecker show all
Defined in:
lib/database_consistency/checkers/missing_index_checker.rb

Overview

This class checks if association’s foreign key has index in the database

Constant Summary collapse

MISSING_INDEX =

Message templates

'associated model should have proper index in the database'

Instance Attribute Summary

Attributes inherited from AssociationChecker

#association, #model

Method Summary

Methods inherited from AssociationChecker

#column_or_attribute_name, #initialize, #table_or_model_name

Methods inherited from BaseChecker

checker_name, enabled?, #enabled?, #report, #report_if_enabled?

Constructor Details

This class inherits a constructor from DatabaseConsistency::Checkers::AssociationChecker