Class: DatabaseConsistency::Checkers::EnumValueChecker
- Inherits:
-
ColumnChecker
- Object
- BaseChecker
- ColumnChecker
- DatabaseConsistency::Checkers::EnumValueChecker
- Defined in:
- lib/database_consistency/checkers/column_checkers/enum_value_checker.rb
Overview
This class checks the database enum values and ActiveRecord’s enum values/inclusion validations are aligned
Constant Summary collapse
- Report =
ReportBuilder.define( DatabaseConsistency::Report, :enum_values, :declared_values )
Instance Attribute Summary
Attributes inherited from ColumnChecker
Method Summary
Methods inherited from ColumnChecker
#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::ColumnChecker