Skip to content

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

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

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

Conversation

@renovate

@renovate renovate Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

djezzzl/database_consistency (database_consistency)

v3.0.10

Compare Source

  • Extend the CI test matrix to Ruby 2.6-4.0 against ActiveRecord 4.2-8.1, keeping every existing combination and adding ActiveRecord 7.2/8.0/8.1 on Ruby 3.3/3.4/4.0.
  • Allow a broad rubocop range in the gemspec and pin a compatible version per gemfile, so linting resolves across Ruby 2.6-4.0.
  • Fix NumericalityConstraintChecker false positives for columns named after SQL keywords (e.g. limit, order), whose quoted identifiers in the CHECK expression were filtered out as keywords. Thanks yenshirak for reporting this in #​313!

v3.0.9

Compare Source

  • Fix NumericalityConstraintChecker to skip numericality validators without a range option (e.g. bare numericality: true), since no CHECK constraint can express them.

v3.0.8

Compare Source

  • Fix NumericalityConstraintChecker false positives for attributes that have validators but no numericality validator. Thanks panteo for reporting this in #​309!

v3.0.7

Compare Source

  • Add NumericalityConstraintChecker to detect numericality validators without matching DB CHECK constraints. Thanks Chedli Bourguiba for reporting this in #​181!

v3.0.6

Compare Source

  • Add PolymorphicAssociationNullabilityChecker to detect polymorphic associations whose foreign key and type columns have mismatched null constraints. Thanks JSap0914 for implementing this!
  • Improved MissingIndexChecker and MissingUniqueIndexChecker with proper combination of allow_nil/allow_blank and conditions. Thanks Alfonso Uceda for fixing this!

v3.0.5

Compare Source

  • Improve MissingIndexFindByChecker to skip boolean columns, which are low-cardinality and rarely benefit from single-column indexes. Thanks Rachael Ghorbani for reporting this!

v3.0.4

Compare Source

  • Add --only-checkers=LIST to scope --autofix to offenses produced by specific checker class names (comma-separated, e.g. --only-checkers=ColumnPresenceChecker,NullConstraintChecker). Unknown names are rejected before any checks run. Thanks to Fabien Dobat!

v3.0.3

Compare Source

v3.0.2

Compare Source

  • Fix FilesHelper to rescue StandardError and ScriptError when calling .name on classes during ObjectSpace iteration, preventing crashes when gems like easy_talk define classes that override .name to raise an error (e.g. NotImplementedError). Thanks tim-gq for reporting this!

v3.0.1

Compare Source

  • Extend the CI test matrix to Ruby 2.6-4.0 against ActiveRecord 4.2-8.1, keeping every existing combination and adding ActiveRecord 7.2/8.0/8.1 on Ruby 3.3/3.4/4.0.
  • Allow a broad rubocop range in the gemspec and pin a compatible version per gemfile, so linting resolves across Ruby 2.6-4.0.
  • Fix NumericalityConstraintChecker false positives for columns named after SQL keywords (e.g. limit, order), whose quoted identifiers in the CHECK expression were filtered out as keywords. Thanks yenshirak for reporting this in #​313!

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: (in timezone Europe/Amsterdam)

  • 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

codecov Bot commented Mar 2, 2026

Copy link
Copy Markdown

Codecov Report

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

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.

@renovate
renovate Bot force-pushed the renovate/database_consistency-3.x branch 2 times, most recently from e9102a4 to 7f23840 Compare March 13, 2026 12:12
@renovate
renovate Bot force-pushed the renovate/database_consistency-3.x branch from 7f23840 to 620e74f Compare March 21, 2026 04:41
@renovate
renovate Bot force-pushed the renovate/database_consistency-3.x branch 2 times, most recently from f8714a2 to 955c678 Compare April 24, 2026 05:39
@renovate
renovate Bot force-pushed the renovate/database_consistency-3.x branch 2 times, most recently from 34c3ffc to 9af20d0 Compare May 23, 2026 17:31
@renovate
renovate Bot force-pushed the renovate/database_consistency-3.x branch 2 times, most recently from fe659b7 to 32729aa Compare July 20, 2026 02:33
@renovate
renovate Bot force-pushed the renovate/database_consistency-3.x branch 2 times, most recently from d1bb695 to 15fd99b Compare July 28, 2026 16:51
@renovate
renovate Bot force-pushed the renovate/database_consistency-3.x branch from 15fd99b to e3d6abe Compare August 5, 2026 11:41
@renovate
renovate Bot force-pushed the renovate/database_consistency-3.x branch from e3d6abe to 962e41b Compare August 19, 2026 19:13
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