feat: limit update nama untuk user intern maksimal sekali

This commit is contained in:
Muhammad Zhafran Ilham
2026-07-13 18:02:23 +07:00
parent fd4de6e887
commit 61f5866ced
4 changed files with 226 additions and 27 deletions
+1
View File
@@ -189,6 +189,7 @@ model User {
professional_bio String? @db.Text
intern_position String? @db.VarChar(255)
intern_interest_group String? @db.VarChar(255)
changes Int @default(0)
is_active Boolean @default(true)
created_at DateTime @default(now())
updated_at DateTime @updatedAt