chore(deps): update dependency database_consistency to v3 - #1238
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## staging #1238 +/- ##
========================================
Coverage 77.70% 77.70%
========================================
Files 54 54
Lines 1413 1413
========================================
Hits 1098 1098
Misses 315 315 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
e9102a4 to
7f23840
Compare
7f23840 to
620e74f
Compare
f8714a2 to
955c678
Compare
34c3ffc to
9af20d0
Compare
fe659b7 to
32729aa
Compare
d1bb695 to
15fd99b
Compare
15fd99b to
e3d6abe
Compare
962e41b to
8be2366
Compare
bca166d to
28e6b0c
Compare
28e6b0c to
69531e3
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
69531e3 to
06c628d
Compare
This PR contains the following updates:
'~> 2.1.1'→'~> 3.0.12'Release Notes
djezzzl/database_consistency (database_consistency)
v3.0.12Compare Source
v3.0.11Compare Source
MissingIndexFindByCheckerfalse positives for lookups by the leading column of a composite primary key. Thanks Eito Katagiri for reporting and fixing this!v3.0.10Compare Source
rubocoprange in the gemspec and pin a compatible version per gemfile, so linting resolves across Ruby 2.6-4.0.NumericalityConstraintCheckerfalse positives for columns named after SQL keywords (e.g.limit,order), whose quoted identifiers in theCHECKexpression were filtered out as keywords. Thanks yenshirak for reporting this in #313!v3.0.9Compare Source
NumericalityConstraintCheckerto skipnumericalityvalidators without a range option (e.g. barenumericality: true), since noCHECKconstraint can express them.v3.0.8Compare Source
NumericalityConstraintCheckerfalse positives for attributes that have validators but nonumericalityvalidator. Thanks panteo for reporting this in #309!v3.0.7Compare Source
NumericalityConstraintCheckerto detectnumericalityvalidators without matching DBCHECKconstraints. Thanks Chedli Bourguiba for reporting this in #181!v3.0.6Compare Source
PolymorphicAssociationNullabilityCheckerto detect polymorphic associations whose foreign key and type columns have mismatched null constraints. Thanks JSap0914 for implementing this!MissingIndexCheckerandMissingUniqueIndexCheckerwith proper combination ofallow_nil/allow_blankandconditions. Thanks Alfonso Uceda for fixing this!v3.0.5Compare Source
MissingIndexFindByCheckerto skip boolean columns, which are low-cardinality and rarely benefit from single-column indexes. Thanks Rachael Ghorbani for reporting this!v3.0.4Compare Source
--only-checkers=LISTto scope--autofixto 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.3Compare Source
v3.0.2Compare Source
FilesHelperto rescueStandardErrorandScriptErrorwhen calling.nameon classes duringObjectSpaceiteration, preventing crashes when gems likeeasy_talkdefine classes that override.nameto raise an error (e.g.NotImplementedError). Thanks tim-gq for reporting this!v3.0.1Compare Source
MissingIndexFindByCheckerfalse positives for lookups by the leading column of a composite primary key. Thanks Eito Katagiri for reporting and fixing this!v3.0.0Compare Source
MissingIndexFindByCheckerto detect columns used infind_bycalls 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.ViewPrimaryKeyCheckerto enforce settingprimary_keyfor models pointing to database views.UniqueIndexCheckerandMissingUniqueIndexCheckerto support partial indexes and uniqueness validators withconditionsoption.UniqueIndexCheckerto skip partial indexes (indexes with aWHEREclause).MissingUniqueIndexCheckerto skip uniqueness validators with aconditionsoption.MissingDependentDestroyCheckerto skip polymorphic associations. Thanks Andy Allan for reporting this!ForeignKeyCascadeCheckerto handle missing primary key (no-primary-key tables) and support composite foreign/primary keys. Thanks Andy Allan for reporting this!v2.1.3Compare Source
MissingDependentDestroyCheckerto support composite keys. Thanks Andy Allan for reporting this!v2.1.2Compare Source
ForeignKeyTypeCheckerto support composite keys. Thanks Quentin de Metz for reporting this!MissingUniqueIndexCheckerto support composite keys. Thanks Andy Allan for reporting this!Configuration
📅 Schedule: (in timezone Europe/Amsterdam)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.