What problem does it solve?
It removes uncertainty about a legacy PostgreSQL database by producing complete, structured documentation of tables, relationships, constraints, and in-database business rules.
Core Features & Use Cases
- Database inventory & structure: Identifies tables by domain and details every column (types, defaults, nullability), PKs, FKs, indexes, and constraints.
- Relationships & ERD generation: Maps cardinalities (including junction and polymorphic relationships, when present) and generates an ERD in Mermaid.
- Business rules in the database: Documents triggers, stored procedures/functions, views, check constraints, and other rule logic found in DDL/migrations/ORM sources.
- Use case: When you have DDL/migrations but no reliable documentation, you can generate ERD and data dictionary outputs to unblock ORM models, migrations, and accurate rebuild work.
Quick Start
Use the reversa-data-master skill to document the database into erd and data-dictionary artifacts under the configured output folder.