From 2f847b9a94b6c58cfb6eeb1e4ffb13a3df4a510e Mon Sep 17 00:00:00 2001 From: ruibaby Date: Thu, 31 Oct 2019 19:19:36 +0800 Subject: [PATCH] fix #356 --- src/main/java/run/halo/app/model/entity/Attachment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/run/halo/app/model/entity/Attachment.java b/src/main/java/run/halo/app/model/entity/Attachment.java index 8eabfecfa..ded0f309d 100644 --- a/src/main/java/run/halo/app/model/entity/Attachment.java +++ b/src/main/java/run/halo/app/model/entity/Attachment.java @@ -52,7 +52,7 @@ public class Attachment extends BaseEntity { /** * Attachment media type. */ - @Column(name = "media_type", columnDefinition = "varchar(50) not null") + @Column(name = "media_type", columnDefinition = "varchar(127) not null") private String mediaType; /**