After update to liquibase 3.6.1 our old <sql> changeSets broke if they used DECLARE variables.
Apparently additional GO statements are now added where there are empty rows, this is not how it used to work and it now makes our old files throw
liquibase.exception.DatabaseException: Must declare the scalar variable "@foo".
How would we either get around this or fix our older files to work on old database copies without being run again on up to date ones?