commit 2cd71ffab515a94e82f14b4dd28e7191cadef690 parent 927818f64a2a74dce9535068a62feb71e895b514 Author: MS <ms@taler.net> Date: Thu, 10 Dec 2020 16:38:02 +0100 default DB connection string Diffstat:
| M | nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt | | | 2 | +- |
| M | sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt @@ -51,7 +51,7 @@ class Serve : CliktCommand("Run nexus HTTP server") { helpFormatter = CliktHelpFormatter(showDefaultValues = true) } } - private val dbName by option().default("libeufindb") + private val dbName by option().default("jdbc:sqlite://libeufindb") private val host by option().default("127.0.0.1") private val logLevel by option() override fun run() { diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -99,7 +99,7 @@ class DropTables : CliktCommand("Drop all the tables from the database") { } class Serve : CliktCommand("Run sandbox HTTP server") { - private val dbName by option().default("libeufindb") + private val dbName by option().default("jdbc:sqlite://libeufindb") private val logLevel by option() override fun run() { LOGGER = LoggerFactory.getLogger("tech.libeufin.sandbox")