You rename a field on a JPA entity. Then you leave the editor to write the SQL, write the rollback script, check which database you are about to change, and run it. The Migrax plugin for IntelliJ IDEA keeps all of that in the IDE. This article follows one renamed field from the edit to the applied migration.
Tested with: Migrax 0.19.0-rc.2, Migrax plugin 0.1.1, IntelliJ IDEA 2026.2.1, Hibernate 6.6.13, PostgreSQL 17. Every screenshot and output below comes from a real run.
The Migrax plugin after a rename: the generated migration and its rollback script, and the tool window with every migration applied.
Install the plugin
In IntelliJ IDEA open Settings > Plugins > Marketplace , search for Migrax and click Install . The plugin is free and works in IntelliJ IDEA Community and Ultimate 2024.2 or newer.
It needs the migrax command. It uses the path in Settings > Tools > Migrax if you set one, then migrax on your PATH , then a copy it downloaded itself.…