From 16d62f6c339ebeefb7e29a30ea6b2dffe34d180a Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Mon, 17 Feb 2025 22:10:01 +0100 Subject: [PATCH] [backend/database] Fix emoji type migration for emoji with multiple corresponding drive_file entries --- .../Migrations/v2025.1-beta5/20250217192617_FixupEmojiType.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Iceshrimp.Backend/Core/Database/Migrations/v2025.1-beta5/20250217192617_FixupEmojiType.cs b/Iceshrimp.Backend/Core/Database/Migrations/v2025.1-beta5/20250217192617_FixupEmojiType.cs index 8a187ece..f779a941 100644 --- a/Iceshrimp.Backend/Core/Database/Migrations/v2025.1-beta5/20250217192617_FixupEmojiType.cs +++ b/Iceshrimp.Backend/Core/Database/Migrations/v2025.1-beta5/20250217192617_FixupEmojiType.cs @@ -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