diff --git a/tools/dbmigration/src/main/kotlin/com/r3/corda/dbmigration/Launcher.kt b/tools/dbmigration/src/main/kotlin/com/r3/corda/dbmigration/Launcher.kt index 306b527a3d..e6a3d08a2d 100644 --- a/tools/dbmigration/src/main/kotlin/com/r3/corda/dbmigration/Launcher.kt +++ b/tools/dbmigration/src/main/kotlin/com/r3/corda/dbmigration/Launcher.kt @@ -139,7 +139,7 @@ private fun runCommand(options: OptionSet, parser: OptionParser) { } private fun handleCommand(options: OptionSet, baseDirectory: Path, configFile: Path, mode: Mode, classLoader: ClassLoader, schemas: Set) { - val config = ConfigFactory.parseFile(configFile.toFile()).resolve().parseAs(Configuration::class) + val config = ConfigFactory.parseFile(configFile.toFile()).resolve().parseAs(Configuration::class, false) fun runMigrationCommand(withMigration: (SchemaMigration) -> Unit): Unit = runWithDataSource(config) { dataSource -> withMigration(SchemaMigration(schemas, dataSource, true, config.database, classLoader))