feat: url passwords

This commit is contained in:
diced
2024-03-06 21:37:07 -08:00
parent 076a04b55e
commit b02bcfc035
9 changed files with 191 additions and 9 deletions

View File

@@ -212,6 +212,7 @@ model Url {
destination String
views Int @default(0)
maxViews Int?
password String?
User User? @relation(fields: [userId], references: [id], onDelete: SetNull, onUpdate: Cascade)
userId String?