spring-boot/spring-boot-samples/spring-boot-sample-liquibase
Stephane Nicoll afda0ec129 Default Hibernate DDL auto to none with Flyway/Liquibase
This commit adds a strategy interface to specific if a given DataSource
has its schema managed. The Hibernate auto-configuration uses it to set
it to "none" if a mechanism to initialize the DataSource is
found and "create-drop" otherwise.

Both Flyway and Liquibase implements that strategy interface and
register it in the context accordingly.

Closes gh-9262
2017-08-30 12:42:24 +02:00
..
2016-12-30 12:17:28 -08:00

== Spring Boot Liquibase Sample

This sample demonstrates the liquibase auto-configuration support.

You can look at `http://localhost:8080/application/liquibase` to review the list of
scripts.

This sample also enables the H2 console (at `http://localhost:8080/h2-console`)
so that you can review the state of the database (the default jdbc url is
`jdbc:h2:mem:testdb`).