diff --git a/spring-boot-samples/spring-boot-sample-flyway/README.adoc b/spring-boot-samples/spring-boot-sample-flyway/README.adoc
index dc419218f6..46d1e6c5f7 100644
--- a/spring-boot-samples/spring-boot-sample-flyway/README.adoc
+++ b/spring-boot-samples/spring-boot-sample-flyway/README.adoc
@@ -2,5 +2,8 @@
This sample demonstrates the flyway auto-configuration support.
-You can look at the `/flyway` endpoint to review the list of scripts executed.
-E.g: http//localhost:8080/flyway
+You can look at `http//localhost:8080/flyway` 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`).
diff --git a/spring-boot-samples/spring-boot-sample-flyway/pom.xml b/spring-boot-samples/spring-boot-sample-flyway/pom.xml
index 3533b7184a..adf97c81e7 100644
--- a/spring-boot-samples/spring-boot-sample-flyway/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-flyway/pom.xml
@@ -19,10 +19,6 @@
${basedir}/../..
-
- org.springframework.boot
- spring-boot-actuator
-
org.springframework.boot
spring-boot-starter-data-jpa
@@ -31,15 +27,21 @@
org.springframework.boot
spring-boot-starter-web
+
+ org.springframework.boot
+ spring-boot-actuator
+
org.flywaydb
flyway-core
+
- org.hsqldb
- hsqldb
+ com.h2database
+ h2
runtime
+
org.springframework.boot
spring-boot-starter-test
diff --git a/spring-boot-samples/spring-boot-sample-flyway/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-flyway/src/main/resources/application.properties
index 2cbca2b524..d18bea2e53 100644
--- a/spring-boot-samples/spring-boot-sample-flyway/src/main/resources/application.properties
+++ b/spring-boot-samples/spring-boot-sample-flyway/src/main/resources/application.properties
@@ -1 +1,3 @@
-spring.jpa.hibernate.ddl-auto: validate
\ No newline at end of file
+spring.jpa.hibernate.ddl-auto=validate
+
+spring.h2.console.enabled=true
\ No newline at end of file
diff --git a/spring-boot-samples/spring-boot-sample-liquibase/README.adoc b/spring-boot-samples/spring-boot-sample-liquibase/README.adoc
index 736108ebd5..f3acd7274e 100644
--- a/spring-boot-samples/spring-boot-sample-liquibase/README.adoc
+++ b/spring-boot-samples/spring-boot-sample-liquibase/README.adoc
@@ -2,5 +2,8 @@
This sample demonstrates the liquibase auto-configuration support.
-You can look at the `/liquibase` endpoint to review the list of scripts executed.
-E.g: http//localhost:8080/liquibase
+You can look at `http//localhost:8080/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`).
diff --git a/spring-boot-samples/spring-boot-sample-liquibase/pom.xml b/spring-boot-samples/spring-boot-sample-liquibase/pom.xml
index 2dbde3a327..2f50576775 100644
--- a/spring-boot-samples/spring-boot-sample-liquibase/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-liquibase/pom.xml
@@ -19,10 +19,6 @@
${basedir}/../..
-
- org.springframework.boot
- spring-boot-actuator
-
org.springframework.boot
spring-boot-starter-jdbc
@@ -31,15 +27,21 @@
org.springframework.boot
spring-boot-starter-web
+
+ org.springframework.boot
+ spring-boot-actuator
+
org.liquibase
liquibase-core
+
- org.hsqldb
- hsqldb
+ com.h2database
+ h2
runtime
+
org.springframework.boot
spring-boot-starter-test
diff --git a/spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/application.properties
index bb3f2d169b..288b7e85ad 100644
--- a/spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/application.properties
+++ b/spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/application.properties
@@ -1 +1,3 @@
-spring.jpa.hibernate.ddl-auto: none
+spring.jpa.hibernate.ddl-auto=none
+
+spring.h2.console.enabled=true