feat: 최대 강화 단계, 현재 골드 기반 랭크 추가

This commit is contained in:
bumpsoo 2026-02-08 17:08:37 +09:00
parent 30debc44f5
commit 71e09915b7
6 changed files with 197 additions and 9 deletions

View file

@ -6,5 +6,8 @@ CREATE TABLE IF NOT EXISTS users (
username VARCHAR(32) UNIQUE NOT NULL,
gold BIGINT UNSIGNED DEFAULT 10000,
sword_level INT DEFAULT 0,
last_login TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
max_sword_level INT DEFAULT 0,
last_login TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
INDEX (gold),
INDEX (max_sword_level)
);