Automatically create a snapshot and run checks
Automatically create a snapshot of the database using a live database URL and enable a database-scoped check.
Procedure
1
Establish the url and referenceUrl in the liquibase.properties file.
liquibase.command.url: jdbc:h2:tcp://localhost:9090/mem:dev
liquibase.command.referenceUrl: jdbc:h2:tcp://localhost:9090/mem:integration
This establishes the automatic snapshot.
2
Run the liquibase checks run --checks-scope=database command.
liquibase checks run --checks-scope=database command