What it is
An IntelliJ IDEA and Android Studio plugin for Android and Kotlin Multiplatform projects. It reads your local Room classes as you edit and draws the database schema as a tree and an interactive ER diagram, with a browser for DAO queries and diffs between schema versions.
What I built
- Schema tree
Entities, columns, indices, foreign keys, DAOs, type converters and database views in one expandable tree.
- ER diagram
Entity cards joined by foreign keys, with pan, zoom, auto-layout and a jump to the source.
- Queries and migrations
A DAO method browser that shows the SQL, and version-to-version diffs from Room's exported JSON schemas.
- Live
The schema refreshes as you edit Room classes. It works with the K1 and K2 Kotlin compilers and with Kotlin Multiplatform projects.
Stack
- Kotlin
- IntelliJ Platform SDK