Account deleted flag
This commit is contained in:
@@ -4,14 +4,14 @@ model Log {
|
||||
userId String?
|
||||
browser String?
|
||||
deviceId String?
|
||||
ip String?
|
||||
field String?
|
||||
oldValue String?
|
||||
newValue String?
|
||||
ip String?
|
||||
field String?
|
||||
oldValue String?
|
||||
newValue String?
|
||||
timestamp DateTime @default(now())
|
||||
|
||||
|
||||
User User? @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@map(name: "logs")
|
||||
}
|
||||
|
||||
@@ -19,4 +19,5 @@ enum LOG_TYPE {
|
||||
LOGIN
|
||||
PROFILE_CHANGE
|
||||
REGISTER
|
||||
}
|
||||
ACCOUNT_DELETED
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user