feat: add gamification features for users, including XP and leveling, with corresponding database schema and API response updates.

This commit is contained in:
2026-01-04 21:40:21 -03:00
parent 6326cad39d
commit a19da8de76
6 changed files with 181 additions and 101 deletions
@@ -0,0 +1,3 @@
-- Add xp and level to users table
ALTER TABLE users ADD COLUMN IF NOT EXISTS xp INT NOT NULL DEFAULT 0;
ALTER TABLE users ADD COLUMN IF NOT EXISTS level INT NOT NULL DEFAULT 1;