Formatted SQL With PreConditions - 3.0.2

Hi Guys,

I´ve read that liquibase supports “preconditions in formatted sql”. Is there any documentation how I am supposed to use them?

I saw the pull request from “user: barneyb” barneyb - code snippet.
but i wasn´t quite sure how to use them.

Maybe someone can help me.


You start with a --preconditions line

Then for each precondition you want you use --precondition-[NAME-OF-PRECONDITION]. If your precondition takes parameters, you use a name:“value” syntax.