Class: DatabaseConsistency::Checkers::RedundantIndexChecker

Inherits:
IndexChecker show all
Defined in:
lib/database_consistency/checkers/index_checkers/redundant_index_checker.rb

Overview

This class checks redundant database indexes

Constant Summary collapse

REDUNDANT_INDEX =

Message templates

'index is redundant as (%index) covers it'

Instance Attribute Summary

Attributes inherited from IndexChecker

#index, #model

Method Summary

Methods inherited from IndexChecker

#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::IndexChecker