Add bio field to user model and update related components: Enhance leaderboard and profile features by including a bio field in user data. Update API routes, UI components, and validation logic to support bio input and display, improving user profiles and leaderboard entries.

This commit is contained in:
Julien Froidefond
2025-12-09 22:00:19 +01:00
parent 16b0437ecb
commit 3a0dd57bb6
13 changed files with 147 additions and 24 deletions

View File

@@ -41,6 +41,7 @@ model User {
xp Int @default(0)
maxXp Int @default(5000)
avatar String?
bio String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
preferences UserPreferences?