Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

附件上传的media-type字段需要调整大小 #356

Closed
githubshansheng opened this issue Oct 31, 2019 · 3 comments
Closed

附件上传的media-type字段需要调整大小 #356

githubshansheng opened this issue Oct 31, 2019 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/feature Categorizes issue or PR as related to a new feature.

Comments

@githubshansheng
Copy link

media_type字段50字符,少数文件类型超出50抛异常
如:

Caused by: org.h2.jdbc.JdbcSQLDataException: Value too long for column """MEDIA_TYPE"" VARCHAR(50) NOT NULL": "'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' (65)"; SQL statement:

我设置为100

ALTER TABLE attachments MODIFY media_type VARCHAR(100) NOT NULL;
@JohnNiang
Copy link
Member

好的,我们稍后修改一下。

@JohnNiang JohnNiang added kind/bug Categorizes issue or PR as related to a bug. kind/feature Categorizes issue or PR as related to a new feature. labels Oct 31, 2019
@weiwensangsang
Copy link
Contributor

@JohnNiang H2支持 clob和blob,可一劳永逸

ruibaby added a commit that referenced this issue Oct 31, 2019
@ruibaby
Copy link
Member

ruibaby commented Oct 31, 2019

已修复。

@ruibaby ruibaby closed this as completed Oct 31, 2019
ruibaby added a commit to ruibaby/halo that referenced this issue Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants