From d15c6d6f1f3f61a64fe044437f34c30733fa7949 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Fri, 20 Dec 2024 17:05:45 +0200 Subject: [PATCH] Fixes SQL --- app/classes/ratelimitrer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/ratelimitrer.php b/app/classes/ratelimitrer.php index 967581b..d9d8933 100644 --- a/app/classes/ratelimitrer.php +++ b/app/classes/ratelimitrer.php @@ -28,7 +28,7 @@ class RateLimiter { // IP whitelist table $sql = "CREATE TABLE IF NOT EXISTS {$this->whitelistTable} ( - id int(11) PRIMARY KEY AUTO_INCREMENT, + id INTEGER PRIMARY KEY AUTOINCREMENT, ip_address VARCHAR(45) NOT NULL, is_network BOOLEAN DEFAULT FALSE, description VARCHAR(255),