From 268f76f9badda312d91c3ba84f3d71168eeeb785 Mon Sep 17 00:00:00 2001 From: XCwosjw <53867435+XCwosjw@users.noreply.github.com> Date: Fri, 23 Feb 2024 10:14:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8IPV6=E4=B8=8B?= =?UTF-8?q?=E7=9A=84=E5=BC=82=E5=B8=B8=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复在IPV6下因ip长度问题而导致的的异常报错 --- install.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sql b/install.sql index b969712..967366c 100644 --- a/install.sql +++ b/install.sql @@ -48,7 +48,7 @@ CREATE TABLE `cloud_white` ( DROP TABLE IF EXISTS `cloud_record`; CREATE TABLE `cloud_record` ( `id` int(11) NOT NULL AUTO_INCREMENT, - `ip` varchar(20) NOT NULL, + `ip` varchar(200) NOT NULL, `addtime` datetime NOT NULL, `usetime` datetime NOT NULL, PRIMARY KEY (`id`),