mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 20:59:26 +00:00
add file upload service
This commit is contained in:
@@ -154,3 +154,12 @@ model GeneralChatMessage {
|
||||
|
||||
@@index([userId])
|
||||
}
|
||||
|
||||
model fileEntity {
|
||||
id Int @id @default(autoincrement())
|
||||
fileName String
|
||||
fileUrl String
|
||||
key String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user