Extending the functionality of database tools
The PhpStorm distribution includes example extension scripts which you can access using the Scratches view of the Project tool window.
Extensions/Database Tools and SQL/data/extractors folder contains the scripts that convert table data into various output formats (see e.g. ). The
Extensions/Database Tools and SQL/schema folder contains the scripts that generate a Java entity class for a table (see Generating Java entity classes for tables and views).