-
-
Notifications
You must be signed in to change notification settings - Fork 47
Installation
Evgeniy Demin edited this page Nov 25, 2022
·
1 revision
Add this line to your application's Gemfile:
gem 'database_consistency', group: :development, require: false
And then execute:
$ bundle install
Run the installer to generate the default configuration to exclude false positives caused by some popular libraries:
$ bundle exec database_consistency install
You can also generate a TODO file that will ignore existing issues in your project:
$ bundle exec database_consistency -g
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