Class: DatabaseConsistency::Checkers::PrimaryKeyTypeChecker
- Inherits:
-
ColumnChecker
- Object
- BaseChecker
- ColumnChecker
- DatabaseConsistency::Checkers::PrimaryKeyTypeChecker
- Defined in:
- lib/database_consistency/checkers/column_checkers/primary_key_type_checker.rb
Overview
This class checks that primary key is bigserial, bigint, or uuid
Constant Summary collapse
- Report =
ReportBuilder.define( DatabaseConsistency::Report, :fk_name, :table_to_change, :type_to_set )
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