From f63e2d701a0bb23b24e0dc41099b09831688650e Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Mon, 3 Aug 2020 21:24:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A9=E5=85=85=E6=91=98=E8=A6=81=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/bupt/note/Model/Paper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/bupt/note/Model/Paper.java b/src/main/java/com/bupt/note/Model/Paper.java index a5511ef..3639cb6 100644 --- a/src/main/java/com/bupt/note/Model/Paper.java +++ b/src/main/java/com/bupt/note/Model/Paper.java @@ -88,7 +88,7 @@ public class Paper { this.year = year; } - @Column(nullable = false) + @Column(nullable = false,length = 512) public String getSummary() { return summary; }