- Run
mvn liquibase:generateChangeLog
- copy the xml content in the output to the liquibase resources
- Sync schema state in database by running :
mvn liquibase:changeLogSync
- Add schema modification to a new liquibase xml file, prefixed by an id that is greater than the previous one (operation are ordered)
- run
mvn liquibase:update
- Use on your datasource before any connection :
new LiquibaseHelper(ds)
.update()
.getDataSource()```