Set column type to longblob for encrypted_key field in entity/FileMetadata
This commit is contained in:
@@ -31,7 +31,7 @@ public class FileMetadata {
|
|||||||
private byte[] iv;
|
private byte[] iv;
|
||||||
|
|
||||||
@Lob
|
@Lob
|
||||||
@Column(nullable = false, name = "encrypted_key")
|
@Column(nullable = false, name = "encrypted_key", columnDefinition = "LONGBLOB")
|
||||||
private byte[] encryptedKey;
|
private byte[] encryptedKey;
|
||||||
|
|
||||||
@Column(nullable = false)
|
@Column(nullable = false)
|
||||||
|
|||||||
Reference in New Issue
Block a user