diff --git a/core/txdb/txdb.go b/core/txdb/txdb.go index 72b1466..5f94ec9 100644 --- a/core/txdb/txdb.go +++ b/core/txdb/txdb.go @@ -90,7 +90,7 @@ func (t *txnkvdb) SetTxns(txns []*SignedTxn) (err error) { type TxnDBSchema struct { Type string `gorm:"type:varchar(10)"` HashKey string `gorm:"primaryKey,length:255;type:text"` - Value []byte `gorm:"type:blob"` + Value []byte `gorm:"type:mediumblob"` } func (TxnDBSchema) TableName() string {