Fixes SQL

main
Yasen Pramatarov 2024-12-20 17:05:45 +02:00
parent 76f4e0e3c8
commit d15c6d6f1f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class RateLimiter {
// IP whitelist table // IP whitelist table
$sql = "CREATE TABLE IF NOT EXISTS {$this->whitelistTable} ( $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, ip_address VARCHAR(45) NOT NULL,
is_network BOOLEAN DEFAULT FALSE, is_network BOOLEAN DEFAULT FALSE,
description VARCHAR(255), description VARCHAR(255),