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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user