Packages
ecto_annotate
0.1.0
A Mix task to annotate your Ecto schemas with database column information, relationships, and associations - inspired by Ruby's annotate gem.
Current section
Files
Jump to
Current section
Files
ecto_annotate
CHANGELOG.md
CHANGELOG.md
# Changelog
## 0.1.0 (2025-01-07)
### Added
- Initial release of EctoAnnotate
- Mix task to scan and display Ecto schema information
- Automatic annotation writing to schema files
- Support for displaying:
- Primary keys (integer id vs binary_id)
- Columns with types, defaults, and constraints
- Indexes with unique flags
- Foreign keys with on_delete/on_update actions
- Associations with ID type detection
- Beautiful colored CLI output
- Configuration file support (`.ecto_annotate.exs`)
- Customizable paths for migrations and schemas
- Directory exclusion support
- Annotation position control (top or before schema)
- Remove annotations functionality