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

This commit is contained in:
Nurfog committed 2026-01-04 21:40:21 -03:00
1 parent 6326cad39d
commit a19da8de76
6 files changed
+181 -101

No files matched your search

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