feat(cloud-page) - wip - uploading files till now

This commit is contained in:
2025-09-27 00:23:47 +05:30
parent ac6d906e03
commit 9a3c52bef5
5 changed files with 1554 additions and 873 deletions

View File

@@ -323,6 +323,7 @@ model CloudFolder {
user User @relation(fields: [userId], references: [id])
files CloudFile[]
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@unique([userId, parentId, name]) // prevents sibling folder name duplicates
@@index([parentId])