Packages

Validate Postgres database structure and enforce schema conventions.

Current section

Files

Jump to
bylaw_postgres CHANGELOG.md
Raw

CHANGELOG.md

# Changelog
## 0.3.0 - 2026-07-27
- Add `Bylaw.Db.Adapters.Postgres.UniqueKeys` for reading conservative unique
ordering keys from Postgres.
## 0.2.0 - 2026-05-13
- Standardize every built-in Postgres check on the universal `rules:` DSL, with
shared `where:` / `except:` scope keys and check-specific rule options.
- Document the rule options catalog for scope-only checks and configurable
checks.
- Replace `only` with `where` in Postgres rule matchers.
- Require plural matcher keys and non-empty list matcher values in Postgres rules.
- Make `rules:` the only public configuration entry point for configurable
Postgres checks.
- Remove older top-level Postgres check configuration entry points such as
`columns:`, `scope_columns:`, `on_delete:`, `on_update:`, and top-level
`schemas:` / `tables:` scoping on configurable checks.
## 0.1.0 - 2026-05-11
Initial package release.
- Add the `Bylaw.Db.Adapters.Postgres` validation adapter.
- Add built-in Postgres checks for foreign keys, indexes, required columns,
primary-key types, forbidden column types, and Ecto changeset constraints.
- Add HexDocs guides for Postgres check setup, configuration, and ExUnit
integration.