added lookup indexes to login attempts

This commit is contained in:
MineTec committed 2026-10-14 21:07:27 +02:00
1 parent 882bacf57b
commit 0800793e64
1 file changed
+5
@@ -0,0 +1,5 @@
-- Latest name per account and account per name, used for every name shown in the ban evasion dialogs.
ALTER TABLE login_attempts
ADD KEY IF NOT EXISTS idx_uuid_at (uuid, at),
ADD KEY IF NOT EXISTS idx_name_at (name, at),
DROP KEY IF EXISTS idx_uuid;