Class: DatabaseConsistency::Checkers::RedundantUniqueIndexChecker

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

Overview

This class checks redundant database unique indexes

Constant Summary collapse

Report =
ReportBuilder.define(
  DatabaseConsistency::Report,
  :index_name,
  :covered_index_name
)

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