From 083a0b222e6d0f243581fb10f4ba66bbc0b2ca7c Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 19 Dec 2024 23:44:40 +0700 Subject: [PATCH] fix: add missing 'mode IN' to archivingSql query (#7510) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: alexey@hardcoreeng.com --- server/account/src/collections/postgres.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/account/src/collections/postgres.ts b/server/account/src/collections/postgres.ts index 0358a09771..dc872aa2a8 100644 --- a/server/account/src/collections/postgres.ts +++ b/server/account/src/collections/postgres.ts @@ -382,7 +382,8 @@ export class WorkspacePostgresDbCollection extends PostgresDbCollection $4' : ''}) OR ((disabled = FALSE OR disabled IS NULL) AND mode = 'upgrading'))`