Class: DatabaseConsistency::Checkers::MissingIndexChecker::Report
- Defined in:
- lib/database_consistency/checkers/association_checkers/missing_index_checker.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#columns ⇒ Object
readonly
Returns the value of attribute columns.
-
#table_name ⇒ Object
readonly
Returns the value of attribute table_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(table_name:, columns:, **args) ⇒ Report
constructor
A new instance of Report.
Constructor Details
#initialize(table_name:, columns:, **args) ⇒ Report
Returns a new instance of Report.
10 11 12 13 14 |
# File 'lib/database_consistency/checkers/association_checkers/missing_index_checker.rb', line 10 def initialize(table_name:, columns:, **args) super(**args) @table_name = table_name @columns = columns end |
Instance Attribute Details
#columns ⇒ Object (readonly)
Returns the value of attribute columns.
8 9 10 |
# File 'lib/database_consistency/checkers/association_checkers/missing_index_checker.rb', line 8 def columns @columns end |
#table_name ⇒ Object (readonly)
Returns the value of attribute table_name.
8 9 10 |
# File 'lib/database_consistency/checkers/association_checkers/missing_index_checker.rb', line 8 def table_name @table_name end |