mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-11 10:27:01 +02:00
feat: allow unauthenticated uploads
This commit is contained in:
@@ -40,8 +40,8 @@ model Share {
|
||||
views Int @default(0)
|
||||
expiration DateTime
|
||||
|
||||
creatorId String
|
||||
creator User @relation(fields: [creatorId], references: [id])
|
||||
creatorId String?
|
||||
creator User? @relation(fields: [creatorId], references: [id])
|
||||
security ShareSecurity?
|
||||
files File[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user