-
-
Notifications
You must be signed in to change notification settings - Fork 47
ImplicitOrderingChecker
Nhan Nim edited this page Jul 22, 2023
·
2 revisions
See https://github.com/djezzzl/database_consistency/issues/197
Avoid unpredictable behaviors when using non-sortable column as primary key, this is necessary when trying to prevent leaking internal ids.
ImplicitOrderingChecker
perform check for the existence of self.implicit_order_column
(or equivalent) method inside model file of table that satisfy the following conditions:
- using PostgreSQL adapter
- using primary key with
uuid
column type
Message:
ImplicitOrderingChecker fail <Model> <Column> implicit_order_column is recommended when using uuid column type for primary key
If the project helps you or your organization, I would be very grateful if you contribute or donate. Your support is an incredible motivation and the biggest reward for my hard work.
- Home
- Installation
- How to run?
- Configuration
- Auto correction
- Integrations
- Checkers
- ColumnPresenceChecker
- LengthConstraintChecker
- NullConstraintChecker
- UniqueIndexChecker
- ForeignKeyChecker
- MissingUniqueIndexChecker
- MissingIndexChecker
- PrimaryKeyTypeChecker
- ForeignKeyTypeChecker
- RedundantIndexChecker
- RedundantUniqueIndexChecker
- EnumTypeChecker
- ForeignKeyCascadeChecker
- EnumValueChecker
- CaseSensitiveUniqueValidationChecker
- ThreeStateBooleanChecker
- MissingAssociationClassChecker
- MissingTableChecker
- ImplicitOrderingChecker
- FAQ
- Development