refactor(database): ♻️ Make emojis use a Media instead of just rawdogging the URI

This commit is contained in:
Jesse Wierzbinski 2025-01-28 17:43:43 +01:00
parent c7aae24d42
commit cf1104d762
No known key found for this signature in database
18 changed files with 4823 additions and 128 deletions

View file

@ -48,6 +48,7 @@ export const findManyNotes = async (
emoji: {
with: {
instance: true,
media: true,
},
},
},
@ -79,6 +80,7 @@ export const findManyNotes = async (
emoji: {
with: {
instance: true,
media: true,
},
},
},

View file

@ -17,6 +17,7 @@ export const userRelations = {
emoji: {
with: {
instance: true,
media: true,
},
},
},