added erd and api-concept doc files and fixed issue for deployment.

This commit is contained in:
2026-04-22 12:39:36 +02:00
parent e57aa37623
commit 047ac6e239
8 changed files with 155 additions and 80 deletions
+2 -4
View File
@@ -10,12 +10,10 @@ CREATE TABLE users (
CREATE TABLE login_attempts (
id INTEGER PRIMARY KEY AUTOINCREMENT,
ip_address VARCHAR(45) NOT NULL,
username VARCHAR(80) NOT NULL,
ip_address VARCHAR(45) NOT NULL UNIQUE,
failed_attempts INTEGER NOT NULL DEFAULT 0,
locked_until DATETIME,
last_failed_at DATETIME,
CONSTRAINT uq_login_attempt_ip_username UNIQUE (ip_address, username)
last_failed_at DATETIME
);
CREATE TABLE game_state (