修复 UA 字段问题

修复 UA 字段过短导致腾讯系浏览器访问后导致 500 报错的问题(https://paugram.com/coding/fix-typecho-ua-problem.html)
This commit is contained in:
Dreamer-Paul 2020-01-11 16:26:34 +08:00
parent 1100704b99
commit f4995fc35b
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
CREATE TABLE `typecho_access_log` (
`id` int(10) unsigned NOT NULL auto_increment,
`ua` varchar(255) default '' ,
`ua` varchar(512) default '' ,
`browser_id` varchar(32) default '' ,
`browser_version` varchar(32) default '' ,
`os_id` varchar(32) default '' ,

View File

@ -1,6 +1,6 @@
CREATE TABLE `typecho_access_log` (
`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
`ua` varchar(255) default '' ,
`ua` varchar(512) default '' ,
`browser_id` varchar(32) default '' ,
`browser_version` varchar(32) default '' ,
`os_id` varchar(32) default '' ,