aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth/master
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-11-11 13:36:13 +0100
committerShauren <shauren.trinity@gmail.com>2024-11-11 13:36:13 +0100
commitf9cf6795fae76461f71d1e6ece52bce61a4f4711 (patch)
treecb3fe4579f523691c5a4415a61e45913644fec57 /sql/updates/auth/master
parent765beae741ea0f332fe2ac1b4180b632462d1611 (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.sql12
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`;