From: Roland Häder Date: Wed, 28 Oct 2020 09:21:03 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a919cc3a9ed005741d057d29fcb93b84b4390865;p=ctracker.git Continued: - should be behind remote_addr Signed-off-by: Roland Häder --- diff --git a/libs/lib_updates.php b/libs/lib_updates.php index c3d0287..9508f02 100644 --- a/libs/lib_updates.php +++ b/libs/lib_updates.php @@ -101,7 +101,7 @@ FOREIGN KEY ( `ctracker_data_id` ) REFERENCES `' . $GLOBALS['ctracker_dbname'] . // Anti-spambot field [ - "ALTER TABLE `ctracker_data` CHANGE `proxy_addr` `proxy_addr` varchar(15) COLLATE 'latin1_swedish_ci' NULL COMMENT 'Detected proxy address' AFTER `count`", + "ALTER TABLE `ctracker_data` CHANGE `proxy_addr` `proxy_addr` varchar(15) COLLATE 'latin1_swedish_ci' NULL COMMENT 'Detected proxy address' AFTER `remote_addr`", "ALTER TABLE `ctracker_data` ADD `spam_bot_dectections` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Spam-bot attempts'", ], ];