From fc2521b4d6fb7c8d81891aecccf80ecae76c701d Mon Sep 17 00:00:00 2001 From: Jose Carvajal Date: Sun, 31 Dec 2017 10:49:13 +0100 Subject: [PATCH] Bael 1457 (#3330) * BAEL-399: A Guide to Multitenancy in Hibernate 5 * Removed unused properties in profile 2 * Changes after code review * Updated to use H2 for flyway plugin * Updated schema property * Fixed pom format * Undo things from another PR --- flyway/myFlywayConfig.properties | 6 +++--- flyway/pom.xml | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/flyway/myFlywayConfig.properties b/flyway/myFlywayConfig.properties index 8bb102930a..6b11f6f277 100644 --- a/flyway/myFlywayConfig.properties +++ b/flyway/myFlywayConfig.properties @@ -1,5 +1,5 @@ -flyway.user=root -flyway.password=mysql +flyway.user=sa +flyway.password= flyway.schemas=app-db -flyway.url=jdbc:mysql://localhost:3306/ +flyway.url=jdbc:h2:mem:DATABASE flyway.locations=filesystem:db/migration \ No newline at end of file diff --git a/flyway/pom.xml b/flyway/pom.xml index a090b9458e..84009e4579 100644 --- a/flyway/pom.xml +++ b/flyway/pom.xml @@ -58,6 +58,13 @@ org.flywaydb flyway-maven-plugin 5.0.2 + + + com.h2database + h2 + ${h2.version} + + org.springframework.boot @@ -66,5 +73,4 @@ -