[backend/database] Fix emoji type migration for emoji with multiple corresponding drive_file entries
This commit is contained in:
parent
a94e1e7130
commit
16d62f6c33
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ namespace Iceshrimp.Backend.Core.Database.Migrations
|
|||
AND ("drive_file"."webpublicUrl" = "emoji"."publicUrl"
|
||||
OR "drive_file"."url" = "emoji"."publicUrl"
|
||||
)
|
||||
LIMIT 1
|
||||
)
|
||||
WHERE "host" IS NULL
|
||||
AND EXISTS
|
||||
|
|
Loading…
Add table
Reference in a new issue