mirror of
https://github.com/corda/corda.git
synced 2025-02-21 17:56:54 +00:00
Redefine VaultSchema attribute of serialized Contract state to LOB (unconstrained size) (#1459)
This commit is contained in:
parent
069e31d006
commit
628d94c070
@ -39,8 +39,8 @@ object VaultSchemaV1 : MappedSchema(schemaFamily = VaultSchema.javaClass, versio
|
||||
var contractStateClassName: String,
|
||||
|
||||
/** refers to serialized transaction Contract State */
|
||||
// TODO: define contract state size maximum size and adjust length accordingly
|
||||
@Column(name = "contract_state", length = 100000)
|
||||
@Lob
|
||||
@Column(name = "contract_state")
|
||||
var contractState: ByteArray,
|
||||
|
||||
/** state lifecycle: unconsumed, consumed */
|
||||
|
Loading…
x
Reference in New Issue
Block a user