From 9efece1f01df0155a49832be06dcb31fab0cf24b Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Tue, 13 Feb 2024 01:04:32 +0100 Subject: [PATCH] Update models.ts --- backend/src/db/schemas/models.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/backend/src/db/schemas/models.ts b/backend/src/db/schemas/models.ts index 2b838b1bf..a405ba004 100644 --- a/backend/src/db/schemas/models.ts +++ b/backend/src/db/schemas/models.ts @@ -123,21 +123,9 @@ export enum ProjectUpgradeStatus { Failed = "FAILED" } -// Case study: -/* - -Q: If the upgrade status is null and the project version is V1: -A: It would mean that the project has not been attempted to be upgraded - -Q: If the upgrade status is not null (FAILED or IN_PROGRESS), we a status - -Q: if the project status is null, and the project version is v2, we should display nothing cuz its upgraded! - -*/ - export enum ProjectUpgradeStatus { InProgress = "IN_PROGRESS", - Completed = "Project upgrade completed.", // Will be null if completed. So a completed status is not needed + // Completed = "Project upgrade completed.", // Will be null if completed. So a completed status is not needed Failed = "FAILED" }