aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {}