summaryrefslogtreecommitdiff
path: root/sandbox/src/main/kotlin/tech/libeufin
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-06-21 10:30:54 +0200
committerMS <ms@taler.net>2023-06-21 10:30:54 +0200
commit3086f70bd358af283f862f7a429a3cfcb9df0cc1 (patch)
tree21c1798469b393dbb9dffd35597d7a0128fc19d1 /sandbox/src/main/kotlin/tech/libeufin
parent1ddb0579cd9fd81a646e5138b2af453c7b978c9c (diff)
downloadlibeufin-3086f70bd358af283f862f7a429a3cfcb9df0cc1.tar.gz
libeufin-3086f70bd358af283f862f7a429a3cfcb9df0cc1.tar.bz2
libeufin-3086f70bd358af283f862f7a429a3cfcb9df0cc1.zip
Fix postgres-specific query.
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin')
-rw-r--r--sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
index f05480cf..c71d1ee7 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
@@ -716,11 +716,10 @@ fun dbDropTables(dbConnectionString: String) {
fun dbCreateTables(dbConnectionString: String) {
connectWithSchema(dbConnectionString)
if (isPostgres()) {
- val databaseName = getDatabaseName()
execCommand(listOf(
"libeufin-load-sql",
"-d",
- databaseName,
+ getDatabaseName(),
"-s",
"sandbox"
))