feat: add middleware route protection

This commit is contained in:
Riccardo
2024-06-25 22:31:56 +02:00
parent 35fa565d0a
commit 0e5bf94b07
4 changed files with 38 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ enum ModuleType {
model User {
id String @id @default(cuid())
name String
name String?
email String @unique
deleted Boolean @default(false)
createdAt DateTime @default(now())