I use the following sequence to start a migration, which works fine:
- Liquibase liquibase = new Liquibase(changelog_path, liquires, db);
- liquibase.update(null);
As far as I can see update can take a String with contexts but how can I pass parameters to Liquibase?
Can I just set a system property with
- System.setProperty(key, value) ?
I’d also like to evaluate a database tag in preconditions. Is that possible?
Thanks Hans