Packages
track_indices
0.1.0
Document and audit database indices in your Ecto schemas. TrackIndices provides a way to document database indices directly in your schema modules and automatically verify that your documentation matches the actual database indices.
Current section
Files
Jump to
Current section
Files
track_indices
CHANGELOG.md
CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
## 0.1.0 - 2025-10-24
### Added
- Initial release
- `TrackIndices` module with `use TrackIndices` macro for documenting indices in schemas
- `mix track_indices.audit` task for verifying database indices match documentation
- `mix track_indices.list` task for listing all documented indices
- Support for basic indices, unique indices, composite indices, and partial indices
- Verbose mode for detailed index information
- Configuration via application config (e.g., `config :track_indices, repo: YourApp.Repo`)
- Automatic discovery of schemas using `TrackIndices`
- Structured Ecto.Query-based database introspection (PostgreSQL)
- CI-friendly exit codes
- Shared helper functions: `get_repo/0`, `get_documented_indices/0`, `all_schemas/0`