#1218 - ENH: Bump to migration 11.2.1 with support for options patchInsertOn and patchResetChecksumOn

This commit is contained in:
Rob Bygrave
2017-11-23 19:05:35 +13:00
parent fd2d083971
commit 69c045443c
3 changed files with 60 additions and 2 deletions
@@ -29,6 +29,8 @@ public class DbMigrationConfigTest {
Properties properties = new Properties();
properties.setProperty("ebean.migration.dbusername", "banana");
properties.setProperty("ebean.migration.dbpassword", "apple");
properties.setProperty("ebean.migration.patchInsertOn", "1.3,my_views");
properties.setProperty("ebean.migration.patchResetChecksumOn", "foo");
PropertiesWrapper wrapper = new PropertiesWrapper("ebean", "db", properties);
@@ -37,6 +39,8 @@ public class DbMigrationConfigTest {
assertEquals(migrationConfig.getDbUsername(),"banana");
assertEquals(migrationConfig.getDbPassword(),"apple");
assertEquals(migrationConfig.getPatchInsertOn(),"1.3,my_views");
assertEquals(migrationConfig.getPatchResetChecksumOn(),"foo");
}
@Test