修改 mimetype 长度由 50 改为 100,根据 QQ 群 Rocky-北京 反馈 mimetype 长度不够,服务器上传了一个表格文件,获取到的类型都大于60了。

pull/27/head
F4NNIU 2017-12-02 16:05:10 +08:00
parent 3ece8a3102
commit af1005dcd7
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ CREATE TABLE `fa_attachment` (
`imagetype` varchar(30) NOT NULL DEFAULT '' COMMENT '图片类型', `imagetype` varchar(30) NOT NULL DEFAULT '' COMMENT '图片类型',
`imageframes` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '图片帧数', `imageframes` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '图片帧数',
`filesize` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '文件大小', `filesize` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '文件大小',
`mimetype` varchar(50) NOT NULL DEFAULT '' COMMENT 'mime类型', `mimetype` varchar(100) NOT NULL DEFAULT '' COMMENT 'mime类型',
`extparam` varchar(255) NOT NULL DEFAULT '' COMMENT '透传数据', `extparam` varchar(255) NOT NULL DEFAULT '' COMMENT '透传数据',
`createtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建日期', `createtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建日期',
`updatetime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间', `updatetime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',