feat: limit update nama untuk user intern maksimal sekali
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `user` ADD COLUMN `changes` INTEGER NOT NULL DEFAULT 0;
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user