From 350d7c23ae0dfb00089a0735549f4f91a5c4b315 Mon Sep 17 00:00:00 2001 From: Sylvain Jermini Date: Sat, 20 Jan 2024 08:41:43 +0100 Subject: [PATCH] handle correctly issue #1320 (#1322) (cherry picked from commit a395b39a310f820c714eacec19e7fb156cab7f5a) --- src/main/java/alfio/repository/EventDeleterRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/alfio/repository/EventDeleterRepository.java b/src/main/java/alfio/repository/EventDeleterRepository.java index d04a07e4b..b70649206 100644 --- a/src/main/java/alfio/repository/EventDeleterRepository.java +++ b/src/main/java/alfio/repository/EventDeleterRepository.java @@ -115,7 +115,7 @@ public interface EventDeleterRepository { int deleteSubscriptionLinks(@Bind("eventId") int eventId); @Deprecated - @Query("delete from ticket_field_value where ticket_field_configuration_id_fk in (select id from ticket_field_configuration where event_id_fk = :eventId and context = 'ATTENDEE')") + @Query("delete from ticket_field_value where ticket_field_configuration_id_fk in (select id from ticket_field_configuration where event_id_fk = :eventId)") int deleteLegacyTicketFieldValue(@Bind("eventId") int eventId); @Deprecated