sublime fkt but everything working

This commit is contained in:
Nathan Rashleigh committed 2024-04-10 12:33:47 +10:00
1 parent b655adc305
commit 66228047f4
12 files changed
+363 -123

No files matched your search

+5 -2
View File
@@ -26,7 +26,7 @@ model Attachment {
vision Json
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
updatedAt DateTime @default(now())
@@index([channelId])
@@map("attachments")
@@ -39,8 +39,11 @@ model Meme {
tags Json
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
updatedAt DateTime @default(now())
// required to prevent the same attachment being uploaded multiple times
// nullable because maybe will have memes that don't come from a discord attachment
attachmentId BigInt? @unique
attachment Attachment?
@@map("memes")