Class: DatabaseConsistency::Checkers::EnumTypeChecker

Inherits:
EnumChecker show all
Defined in:
lib/database_consistency/checkers/enum_checkers/enum_type_checker.rb

Overview

This class checks enum types consistency

Constant Summary collapse

Report =
DatabaseConsistency::ReportBuilder.define(
  DatabaseConsistency::Report,
  :column_type,
  :values_types
)

Instance Attribute Summary

Attributes inherited from EnumChecker

#enum, #model

Method Summary

Methods inherited from EnumChecker

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