gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: use auto-increment method


From: gnunet
Subject: [libeufin] branch master updated: use auto-increment method
Date: Tue, 18 Feb 2020 22:27:25 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 7d17525  use auto-increment method
7d17525 is described below

commit 7d17525367302bfaa14577dcc76685f178e1a2e4
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Feb 18 22:27:10 2020 +0100

    use auto-increment method
---
 nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
index 6b4f584..1184386 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
@@ -58,12 +58,12 @@ const val ID_MAX_LENGTH = 50
 //}
 
 object Pain001Table : IntIdTableWithAmount() {
-    val msgId = integer("msgId").uniqueIndex()
-    val paymentId = integer("paymentId").uniqueIndex() // id for this system
+    val msgId = integer("msgId").uniqueIndex().autoIncrement()
+    val paymentId = integer("paymentId").uniqueIndex().autoIncrement() // id 
for this system
     val date = date("fileDate")
     val sum = amount("sum")
     val debtorAccount = text("debtorAccount")
-    val endToEndId = integer("EndToEndId").uniqueIndex() // id for this and 
the creditor system
+    val endToEndId = integer("EndToEndId").uniqueIndex().autoIncrement() // id 
for this and the creditor system
     val subject = text("subject")
     val creditorIban = text("creditorIban")
     val creditorBic = text("creditorBic")

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]