From ed557f53917418a9f89eecae9dfbecbade20431c Mon Sep 17 00:00:00 2001 From: Patrick Kuo Date: Fri, 4 Nov 2016 11:48:59 +0000 Subject: [PATCH] reverted newline added by intellij auto format --- .../main/kotlin/com/r3corda/node/utilities/DatabaseSupport.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/node/src/main/kotlin/com/r3corda/node/utilities/DatabaseSupport.kt b/node/src/main/kotlin/com/r3corda/node/utilities/DatabaseSupport.kt index a11b25b5a7..e7d430f7ce 100644 --- a/node/src/main/kotlin/com/r3corda/node/utilities/DatabaseSupport.kt +++ b/node/src/main/kotlin/com/r3corda/node/utilities/DatabaseSupport.kt @@ -147,14 +147,12 @@ class StrandLocalTransactionManager(initWithDatabase: Database) : TransactionMan // Composite columns for use with below Exposed helpers. data class PartyColumns(val name: Column, val owningKey: Column) - data class StateRefColumns(val txId: Column, val index: Column) /** * [Table] column helpers for use with Exposed, as per [varchar] etc. */ fun Table.publicKey(name: String) = this.registerColumn(name, PublicKeyColumnType) - fun Table.secureHash(name: String) = this.registerColumn(name, SecureHashColumnType) fun Table.party(nameColumnName: String, keyColumnName: String) = PartyColumns(this.varchar(nameColumnName, length = 255), this.publicKey(keyColumnName)) fun Table.uuidString(name: String) = this.registerColumn(name, UUIDStringColumnType)