djezzzl/database_consistency
The tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2864
- days_rel: n/a
- days_push: 9
- n_releases_24m: 0
Adoption not part of the score
1192 stars · 65 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem that audits Rails ActiveRecord models against the database schema to detect inconsistencies and inefficiencies. It reports missing constraints, validations, indexes, foreign keys, and other schema-model mismatches.
Use cases
- find missing null constraints between rails models and database schema
- detect missing unique indexes for uniqueness validations
- check foreign keys for belongs_to associations
- find redundant indexes in a rails database
- audit enum values mismatch between database and activerecord
- verify primary key and foreign key type consistency
- catch missing presence validations for non-null columns
When to choose
- you maintain a Ruby on Rails app with ActiveRecord and want to catch schema/model drift
- you want to enforce database-level constraints matching model validations in CI
- you need to find missing or redundant indexes to improve query performance
When to avoid
- your project does not use Ruby on Rails or ActiveRecord
- you need a general-purpose database migration or schema design tool rather than a consistency checker
Facets
cli-tool · maturity active
database developer-tools linter databases developer-tools web-development ruby cli activerecord ruby-on-rails schema-consistency static-analysis database-linter
1 source
- readme: https://github.com/djezzzl/database_consistency · fetched 2026-08-28 · 68c81fc3f26b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| djezzzl/database_consistency | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="djezzzl/database_consistency")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem