aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-06-18 09:29:24 +0000
committerterminaldweller <thabogre@gmail.com>2022-06-18 09:29:24 +0000
commitf968c01d5304516e111399cbbf77200339498379 (patch)
tree843a224338639614532a50eb85c69559dc8f3b81 /src/main
parentadded comments (diff)
downloadmdrtl-f968c01d5304516e111399cbbf77200339498379.tar.gz
mdrtl-f968c01d5304516e111399cbbf77200339498379.zip
changed the max doc size to 40K characters.255 was not enough...
Diffstat (limited to '')
-rw-r--r--src/main/java/com/terminaldweller/doc/Doc.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/terminaldweller/doc/Doc.java b/src/main/java/com/terminaldweller/doc/Doc.java
index 35ee5fd..920fb17 100644
--- a/src/main/java/com/terminaldweller/doc/Doc.java
+++ b/src/main/java/com/terminaldweller/doc/Doc.java
@@ -1,5 +1,6 @@
package com.terminaldweller.doc;
+import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@@ -15,6 +16,8 @@ public class Doc {
private String name;
private long lastModified;
+
+ @Column(length = 10000)
private String body;
public Doc() {}