From 68bdec7c189abb3efc3123a4adf1917d60acc76b Mon Sep 17 00:00:00 2001 From: slawkens Date: Thu, 9 Jan 2025 13:06:33 +0100 Subject: [PATCH] Fix ip size --- system/migrations/33.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/migrations/33.php b/system/migrations/33.php index 97c39fcc..09d1a9a6 100644 --- a/system/migrations/33.php +++ b/system/migrations/33.php @@ -8,7 +8,7 @@ // the size of ipv6 can be maximal 45 chars $up = function () use ($db) { - $db->modifyColumn(TABLE_PREFIX . 'visitors', 'ip', 'VARCHAR(15) NOT NULL'); + $db->modifyColumn(TABLE_PREFIX . 'visitors', 'ip', 'VARCHAR(45) NOT NULL'); }; $down = function () {