diff --git a/src/lib/db/project-store.ts b/src/lib/db/project-store.ts index d2a88a0cc8..0d66d4e09a 100644 --- a/src/lib/db/project-store.ts +++ b/src/lib/db/project-store.ts @@ -566,7 +566,7 @@ class ProjectStore implements IProjectStore { ) .count(`${TABLE}.id as count`) .from(`${TABLE}`) - .join( + .leftJoin( `${SETTINGS_TABLE}`, `${TABLE}.id`, `${SETTINGS_TABLE}.project`,