dblinter

A static analysis tool that checks a PostgreSQL database schema against good design practices. It reports problems in SARIF format, with rules set in a config file.

Share on XLicense: Apache-2.0

Overview

dblinter is a static analysis tool for PostgreSQL databases. Static checks are common for application code, but schemas rarely get the same treatment, so dblinter connects to a Postgres database and checks the schema against good design practices. Results are written in SARIF format. A configuration file describes which rules to enforce and what thresholds are acceptable. You can run it from a Docker image or directly from source with Python and Poetry.

Key features

  • Checks a PostgreSQL schema against design best practices
  • Outputs findings in SARIF format
  • Configuration file sets rules and acceptable thresholds
  • Runs from a Docker image or from source with Poetry

Best for

Useful for teams that want an automated quality check on their Postgres schema design. It needs a connection to a live database.

Upstream
Decathlon/dblinter
Fork on GitHub
Guo-astro/dblinter
Upstream stars
83
Category
Developer tools and infrastructure
Language
Python
License
Apache-2.0
Forked
2025-10-14
Sync status
In syncLast synced 2026-09-29