* 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
This commit is contained in:
Jose Carvajal 2017-12-31 10:49:13 +01:00 committed by Grzegorz Piwowarek
parent 393577b064
commit fc2521b4d6
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
flyway.user=root flyway.user=sa
flyway.password=mysql flyway.password=
flyway.schemas=app-db flyway.schemas=app-db
flyway.url=jdbc:mysql://localhost:3306/ flyway.url=jdbc:h2:mem:DATABASE
flyway.locations=filesystem:db/migration flyway.locations=filesystem:db/migration

View File

@ -58,6 +58,13 @@
<groupId>org.flywaydb</groupId> <groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId> <artifactId>flyway-maven-plugin</artifactId>
<version>5.0.2</version> <version>5.0.2</version>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>
</dependencies>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -66,5 +73,4 @@
</plugins> </plugins>
</build> </build>
</project> </project>