From 3e7bcbbbf4f651848b9ca98b50f4c5e801f00ca9 Mon Sep 17 00:00:00 2001
From: Julian Rother <julian@cccv.de>
Date: Wed, 26 Apr 2023 18:27:11 +0200
Subject: [PATCH] SQLAlchemy 1.3 compat

---
 warehouse/migrations/versions/bf26c4ca926e_primary_item_photo.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/warehouse/migrations/versions/bf26c4ca926e_primary_item_photo.py b/warehouse/migrations/versions/bf26c4ca926e_primary_item_photo.py
index 95c6e50..2e56450 100644
--- a/warehouse/migrations/versions/bf26c4ca926e_primary_item_photo.py
+++ b/warehouse/migrations/versions/bf26c4ca926e_primary_item_photo.py
@@ -36,7 +36,6 @@ def upgrade():
 				.where(item_photo.c.item_id == item.c.id)
 				.order_by(item_photo.c.photo_id)
 				.limit(1)
-				.scalar_subquery()
 		)
 	)
 
-- 
GitLab