Skip to content
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
Clone this wiki locally