[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Update DB tables
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Update DB tables |
Date: |
Fri, 14 Aug 2020 10:29:01 +0200 |
This is an automated email from the git hooks/post-receive script.
heng-yeow pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 6100ce7 Update DB tables
6100ce7 is described below
commit 6100ce771a23f0dd1d26701db5e95ef390e8e219
Author: tanhengyeow <E0032242@u.nus.edu>
AuthorDate: Fri Aug 14 16:28:49 2020 +0800
Update DB tables
---
sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt | 8 ++++++--
1 file changed, 6 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 0631548..c7a5abe 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
@@ -257,7 +257,9 @@ object BankAccountTransactionsTable : IntIdTable() {
val amount = text("amount")
val currency = text("currency")
val date = long("date")
- val subscriber = reference("pmtInfId", BankAccountsTable)
+ val pmtInfId = text("pmtInfId")
+ val msgId = text("msgId")
+ val account = reference("account", BankAccountsTable)
}
class BankAccountTransactionsEntity(id: EntityID<Int>) : IntEntity(id) {
@@ -273,7 +275,9 @@ class BankAccountTransactionsEntity(id: EntityID<Int>) :
IntEntity(id) {
var amount by BankAccountTransactionsTable.amount
var currency by BankAccountTransactionsTable.currency
var date by BankAccountTransactionsTable.date
- var subscriber by BankAccountEntity referencedOn
BankAccountTransactionsTable.subscriber
+ var pmtInfId by BankAccountTransactionsTable.pmtInfId
+ var msgId by BankAccountTransactionsTable.msgId
+ var account by BankAccountEntity referencedOn
BankAccountTransactionsTable.account
}
/**
--
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: Update DB tables,
gnunet <=