Fixes SQL
parent
76f4e0e3c8
commit
d15c6d6f1f
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue