Class: DatabaseConsistency::Checkers::RedundantUniqueIndexChecker::Report
- Inherits:
-
Report
- Object
- Report
- DatabaseConsistency::Checkers::RedundantUniqueIndexChecker::Report
- Defined in:
- lib/database_consistency/checkers/index_checkers/redundant_unique_index_checker.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#covered_index_name ⇒ Object
readonly
Returns the value of attribute covered_index_name.
-
#index_name ⇒ Object
readonly
Returns the value of attribute index_name.
Attributes inherited from Report
#checker_name, #column_or_attribute_name, #error_message, #error_slug, #status, #table_or_model_name
Instance Method Summary collapse
-
#initialize(covered_index_name:, index_name:, **args) ⇒ Report
constructor
A new instance of Report.
Constructor Details
#initialize(covered_index_name:, index_name:, **args) ⇒ Report
Returns a new instance of Report.
10 11 12 13 14 |
# File 'lib/database_consistency/checkers/index_checkers/redundant_unique_index_checker.rb', line 10 def initialize(covered_index_name:, index_name:, **args) super(**args) @index_name = index_name @covered_index_name = covered_index_name end |
Instance Attribute Details
#covered_index_name ⇒ Object (readonly)
Returns the value of attribute covered_index_name.
8 9 10 |
# File 'lib/database_consistency/checkers/index_checkers/redundant_unique_index_checker.rb', line 8 def covered_index_name @covered_index_name end |
#index_name ⇒ Object (readonly)
Returns the value of attribute index_name.
8 9 10 |
# File 'lib/database_consistency/checkers/index_checkers/redundant_unique_index_checker.rb', line 8 def index_name @index_name end |