WIP: basic server, no features

This commit is contained in:
Aaron Kimbrell
2026-01-25 22:33:51 -06:00
parent c723ce2588
commit f1847d1f20
67 changed files with 7655 additions and 37 deletions

View 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;

View 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 failed_attempts INTEGER NOT NULL DEFAULT 0;
ALTER TABLE accounts ADD COLUMN lockout_time DATETIME DEFAULT NULL;
ALTER TABLE accounts ADD COLUMN last_login DATETIME DEFAULT NULL;