From ac6f01ab4bb686cca5b93dacb1df8f0966c77c00 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Mon, 4 Nov 2024 14:51:46 -0500 Subject: [PATCH] Use 15 instead of 12 as the cutoff size when looking for a merge class. --- src/stories/hubbles_law/database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stories/hubbles_law/database.ts b/src/stories/hubbles_law/database.ts index 8051e6d..f3d6441 100644 --- a/src/stories/hubbles_law/database.ts +++ b/src/stories/hubbles_law/database.ts @@ -781,7 +781,7 @@ export async function findClassForMerge(database: Sequelize, classID: number): P INNER JOIN ( SELECT * FROM StudentsClasses GROUP BY class_id - HAVING COUNT(student_id) >= 12 + HAVING COUNT(student_id) >= 15 ) C ON Classes.id = C.class_id WHERE id != ${classID}