Gradlew task database

Could someone explain me how to use the task database in the gradlew, i know it uses migrations but for what purposes should i use it? I didn’t read any documentation about it.

it uses flyway which helps in migration of dB, what you need more on this subject