[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Fix postgres-specific query.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Fix postgres-specific query. |
Date: |
Wed, 21 Jun 2023 10:31:32 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 3086f70b Fix postgres-specific query.
3086f70b is described below
commit 3086f70bd358af283f862f7a429a3cfcb9df0cc1
Author: MS <ms@taler.net>
AuthorDate: Wed Jun 21 10:30:54 2023 +0200
Fix postgres-specific query.
---
nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt | 3 +--
sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
index 89ef421e..e2de7e98 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
@@ -565,12 +565,11 @@ fun dbDropTables(dbConnectionString: String) {
fun dbCreateTables(dbConnectionString: String) {
connectWithSchema(dbConnectionString)
- val databaseName = getDatabaseName()
if (isPostgres()) {
execCommand(listOf(
"libeufin-load-sql",
"-d",
- databaseName,
+ getDatabaseName(),
"-s",
"nexus"
))
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"
))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Fix postgres-specific query.,
gnunet <=