aboutsummaryrefslogtreecommitdiff
path: root/sandbox
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2020-03-26 12:45:29 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2020-03-26 12:45:29 +0100
commit96ed7be496dafa5d033e131cb47dcc350ae40e20 (patch)
treec8d94f158602fc4685e572a416b592e455094d5c /sandbox
parentf91bbdac3e752cb3246de8ad2decfb6d8d8227f3 (diff)
downloadlibeufin-96ed7be496dafa5d033e131cb47dcc350ae40e20.tar.gz
libeufin-96ed7be496dafa5d033e131cb47dcc350ae40e20.tar.bz2
libeufin-96ed7be496dafa5d033e131cb47dcc350ae40e20.zip
Use native long 'id' for table.
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt2
1 files changed, 0 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 3563dfeb..1916df6a 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
@@ -95,7 +95,6 @@ enum class KeyState {
object BankTransactionsTable : IntIdTableWithAmount() {
-
/* Using varchar to store the IBAN - or possibly other formats
* - from the counterpart. */
val counterpart = varchar("counterpart", MAX_ID_LENGTH)
@@ -107,7 +106,6 @@ object BankTransactionsTable : IntIdTableWithAmount() {
}
class BankTransactionEntity(id: EntityID<Int>) : IntEntity(id) {
-
companion object : IntEntityClass<BankTransactionEntity>(BankTransactionsTable)
/* the id of the local customer involved in this transaction,
* either as the credit or the debit part; makes lookups easier */