Add comment field to user profile in admin panel

- Prisma: User.comment String? column + migration
- UserContactEditor: comment shown in view mode, textarea in edit mode
- updateUserContact action: saves comment to DB
This commit is contained in:
2026-05-06 14:06:53 +00:00
parent 4f3b389f05
commit 48721759d3
5 changed files with 68 additions and 29 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "User" ADD COLUMN "comment" TEXT;
+1
View File
@@ -23,6 +23,7 @@ model User {
banned Boolean? @default(false)
banReason String?
banExpires DateTime?
comment String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt