]> git.mxchange.org Git - ctracker.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 28 Oct 2020 09:21:03 +0000 (10:21 +0100)
committerRoland Häder <roland@mxchange.org>
Wed, 28 Oct 2020 09:21:03 +0000 (10:21 +0100)
- should be behind remote_addr

Signed-off-by: Roland Häder <roland@mxchange.org>
libs/lib_updates.php

index c3d028718009b34f7ff4aad6f49c654dce6fd462..9508f02db4ba32b54b73e5268960a59904a2b6ab 100644 (file)
@@ -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'",
                ],
        ];