Skip to content

Commit fc2521b

Browse files
Sgitariopivovarit
authored andcommitted
Bael 1457 (eugenp#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
1 parent 393577b commit fc2521b

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

‎flyway/myFlywayConfig.properties‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
flyway.user=root
2-
flyway.password=mysql
1+
flyway.user=sa
2+
flyway.password=
33
flyway.schemas=app-db
4-
flyway.url=jdbc:mysql://localhost:3306/
4+
flyway.url=jdbc:h2:mem:DATABASE
55
flyway.locations=filesystem:db/migration

‎flyway/pom.xml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@
5858
<groupId>org.flywaydb</groupId>
5959
<artifactId>flyway-maven-plugin</artifactId>
6060
<version>5.0.2</version>
61+
<dependencies>
62+
<dependency>
63+
<groupId>com.h2database</groupId>
64+
<artifactId>h2</artifactId>
65+
<version>${h2.version}</version>
66+
</dependency>
67+
</dependencies>
6168
</plugin>
6269
<plugin>
6370
<groupId>org.springframework.boot</groupId>
@@ -66,5 +73,4 @@
6673
</plugins>
6774
</build>
6875

69-
7076
</project>

0 commit comments

Comments
 (0)