1. Micha Kops
  2. flyway-migrations-tutorial

Commits

Micha Kops  committed d9443ee

Maven dependency cleanup, db schema removed.

  • Participants
  • Parent commits 51cc9a8
  • Branches master

Comments (0)

Files changed (2)

File pom.xml

View file
  • Ignore whitespace
 			<version>4.2.0.Final</version>
 		</dependency>
 		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
-			<version>4.11</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit-dep</artifactId>
-			<version>4.11</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
 			<groupId>com.googlecode.flyway</groupId>
 			<artifactId>flyway-core</artifactId>
 			<version>${flyway.version}</version>

File src/main/java/com/hascode/ejb/JeeDbMigrator.java

View file
  • Ignore whitespace
 		}
 
 		Flyway flyway = new Flyway();
-		flyway.setSchemas("default-db");
 		flyway.setInitOnMigrate(true);
 		flyway.setDataSource(dataSource);
 		for (MigrationInfo i : flyway.info().all()) {