From a68a8b11dddef2f7137ece840c092a97c786e4ab Mon Sep 17 00:00:00 2001 From: Gerard Paligot Date: Tue, 23 Apr 2024 14:04:15 +0200 Subject: [PATCH] fix(shared): don't remove break time in the schedule. --- .../commonMain/sqldelight/org/gdglille/devfest/db/Session.sq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/core/src/commonMain/sqldelight/org/gdglille/devfest/db/Session.sq b/shared/core/src/commonMain/sqldelight/org/gdglille/devfest/db/Session.sq index 37754588f..50587c98d 100644 --- a/shared/core/src/commonMain/sqldelight/org/gdglille/devfest/db/Session.sq +++ b/shared/core/src/commonMain/sqldelight/org/gdglille/devfest/db/Session.sq @@ -124,7 +124,7 @@ DELETE FROM TalkSessionWithSpeakers WHERE event_id == ? AND talk_id IN ?; diffSessions: SELECT id FROM Session -WHERE event_id == ? AND id NOT IN ?; +WHERE event_id == ? AND id NOT IN ? AND talk_id != ""; deleteSessions: DELETE FROM Session WHERE event_id == ? AND id IN ?;