feat: anonymous folder uploads

This commit is contained in:
diced
2025-03-03 22:26:38 -08:00
parent ba144ab58c
commit 20b781709f
14 changed files with 151 additions and 35 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Folder" ADD COLUMN "allowUploads" BOOLEAN NOT NULL DEFAULT false;

View File

@@ -284,6 +284,7 @@ model Folder {
name String
public Boolean @default(false)
allowUploads Boolean @default(false)
files File[]