Skip to content

chore(deps): update dependency database_consistency to v3#1238

Open
renovate[bot] wants to merge 1 commit intostagingfrom
renovate/database_consistency-3.x
Open

chore(deps): update dependency database_consistency to v3#1238
renovate[bot] wants to merge 1 commit intostagingfrom
renovate/database_consistency-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 2, 2026

This PR contains the following updates:

Package Change Age Confidence
database_consistency '~> 2.1.1''~> 3.0.0' age confidence

Release Notes

djezzzl/database_consistency (database_consistency)

v3.0.0

Compare Source

  • Add MissingIndexFindByChecker to detect columns used in find_by calls that lack a database index. Uses Ruby's native Prism parser (Ruby 3.3+) to scan project source files. Requires no additional dependencies and silently skips on older Ruby versions.
  • Add ViewPrimaryKeyChecker to enforce setting primary_key for models pointing to database views.
  • Improve UniqueIndexChecker and MissingUniqueIndexChecker to support partial indexes and uniqueness validators with conditions option.
  • Fix UniqueIndexChecker to skip partial indexes (indexes with a WHERE clause).
  • Fix MissingUniqueIndexChecker to skip uniqueness validators with a conditions option.
  • Fix MissingDependentDestroyChecker to skip polymorphic associations. Thanks Andy Allan for reporting this!
  • Fix ForeignKeyCascadeChecker to handle missing primary key (no-primary-key tables) and support composite foreign/primary keys. Thanks Andy Allan for reporting this!

v2.1.3

Compare Source

  • Fix MissingDependentDestroyChecker to support composite keys. Thanks Andy Allan for reporting this!

v2.1.2

Compare Source

  • Fix ForeignKeyTypeChecker to support composite keys. Thanks Quentin de Metz for reporting this!
  • Fix MissingUniqueIndexChecker to support composite keys. Thanks Andy Allan for reporting this!

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 2, 2026
@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.59%. Comparing base (502d857) to head (aeac751).

Additional details and impacted files
@@           Coverage Diff            @@
##           staging    #1238   +/-   ##
========================================
  Coverage    77.59%   77.59%           
========================================
  Files           54       54           
  Lines         1406     1406           
========================================
  Hits          1091     1091           
  Misses         315      315           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants