feat(user): add bio and custom links functionality

This commit is contained in:
Fatih Kadir Akın
2026-01-27 13:49:16 +03:00
parent 217720e784
commit ce86eaf55b
8 changed files with 426 additions and 15 deletions
@@ -0,0 +1,3 @@
-- AlterTable
ALTER TABLE "users" ADD COLUMN "bio" VARCHAR(250);
ALTER TABLE "users" ADD COLUMN "customLinks" JSONB;
+2
View File
@@ -15,6 +15,8 @@ model User {
name String?
password String?
avatar String?
bio String? @db.VarChar(250)
customLinks Json? // Array of {type: string, url: string, label?: string}
role UserRole @default(USER)
locale String @default("en")
emailVerified DateTime?