-
-
Notifications
You must be signed in to change notification settings - Fork 47
Evgeniy Demin edited this page Nov 26, 2022
·
1 revision
HasAndBelongsToMany association outputs an issue:
fail HABTM_Categories article_id column is required in the database but do not have presence validator
but I don't have a model defined, how to fix it?
That kind of model has no differences from others, so you can disable it from being explored by specifying the configuration like:
# ...
HABTM_Categories:
enabled: false
# ...
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