diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-11-11 13:36:13 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2024-11-11 13:36:13 +0100 |
| commit | f9cf6795fae76461f71d1e6ece52bce61a4f4711 (patch) | |
| tree | cb3fe4579f523691c5a4415a61e45913644fec57 /sql/updates/auth/master | |
| parent | 765beae741ea0f332fe2ac1b4180b632462d1611 (diff) | |
DB: Increase ip address column sizes
Diffstat (limited to 'sql/updates/auth/master')
| -rw-r--r-- | sql/updates/auth/master/2024_11_11_00_auth.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2024_11_11_00_auth.sql b/sql/updates/auth/master/2024_11_11_00_auth.sql new file mode 100644 index 00000000000..58b45dc37cd --- /dev/null +++ b/sql/updates/auth/master/2024_11_11_00_auth.sql @@ -0,0 +1,12 @@ +ALTER TABLE `account` + MODIFY `last_ip` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1' AFTER `joindate`, + MODIFY `last_attempt_ip` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1' AFTER `last_ip`; + +ALTER TABLE `battlenet_accounts` + MODIFY `last_ip` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1' AFTER `joindate`; + +ALTER TABLE `ip_banned` + MODIFY `ip` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1' FIRST; + +ALTER TABLE `logs_ip_actions` + MODIFY `ip` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1' AFTER `type`; |
