commit b8783710556fb3eb7992a7d221d5eee60afe6a11 parent f07a65e633b2961ef5f0447f086d85e1ec7f8f7d Author: MS <ms@taler.net> Date: Mon, 29 Jun 2020 15:29:41 +0200 change column name Diffstat:
| M | nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt | | | 2 | +- |
| M | nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsNexus.kt | | | 1 | + |
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt @@ -211,7 +211,7 @@ class PaymentInitiationEntity(id: EntityID<Long>) : LongEntity(id) { * The bank account label (as assigned by the bank) is the primary key. */ object OfferedBankAccountsTable : Table() { - val offeredAccountId = text("id") + val offeredAccountId = text("offeredAccountId") val bankConnection = reference("bankConnection", NexusBankConnectionsTable) val iban = text("iban") val bankCode = text("bankCode") diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsNexus.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsNexus.kt @@ -358,6 +358,7 @@ suspend fun ebicsFetchAccounts(connId: String, client: HttpClient) { reason = "bank gave no BIC" ) newRow[bankConnection] = requireBankConnectionInternal(connId).id + newRow[offeredAccountId] = accountInfo.id } } }