Precondition: Postgres Schema exists
Using this precondition should run a migration only if the schema my_schema
exists.
<preConditions onFail="CONTINUE">
<sqlCheck expectedResult="1">
SELECT COUNT(1) FROM information_schema.schemata WHERE schema_name = 'my_schema';
</sqlCheck>
</preConditions>
Resources: