mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- block access if it cant be reliably deetermined - increase field size in db to accomodate IPv6
12 lines
425 B
SQL
12 lines
425 B
SQL
ALTER TABLE `aowow_account`
|
|
ALTER `curIP` DROP DEFAULT,
|
|
ALTER `prevIP` DROP DEFAULT;
|
|
ALTER TABLE `aowow_account`
|
|
CHANGE COLUMN `curIP` `curIP` VARCHAR(45) NOT NULL AFTER `consecutiveVisits`,
|
|
CHANGE COLUMN `prevIP` `prevIP` VARCHAR(45) NOT NULL AFTER `curIP`;
|
|
|
|
ALTER TABLE `aowow_account_bannedips`
|
|
ALTER `ip` DROP DEFAULT;
|
|
ALTER TABLE `aowow_account_bannedips`
|
|
CHANGE COLUMN `ip` `ip` VARCHAR(45) NOT NULL FIRST;
|