mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-02-01 08:29:53 +00:00
WIP: basic server, no features
This commit is contained in:
6
migrations/dlu/mysql/27_login_tracking.sql
Normal file
6
migrations/dlu/mysql/27_login_tracking.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- Migration: Add login tracking columns to accounts table
|
||||
-- Adds fields for tracking login attempts, lockouts, and last login
|
||||
|
||||
ALTER TABLE accounts ADD COLUMN IF NOT EXISTS failed_attempts INT NOT NULL DEFAULT 0;
|
||||
ALTER TABLE accounts ADD COLUMN IF NOT EXISTS lockout_time DATETIME NULL DEFAULT NULL;
|
||||
ALTER TABLE accounts ADD COLUMN IF NOT EXISTS last_login DATETIME NULL DEFAULT NULL;
|
||||
Reference in New Issue
Block a user