Account deleted flag

This commit is contained in:
PxlLoewe
2026-01-30 17:29:50 +01:00
parent 8555b901a5
commit 5607aacd16
3 changed files with 33 additions and 6 deletions

View File

@@ -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
}