Convert DB to Liquibase xml

You can use the generateChangeLog command to capture the current state of the database into changelog format. Be aware that not all objects types are extracted.

https://docs.liquibase.com/commands/community/generatechangelog.html