From 452a2cd61d40affb0e85edbbe9b54e72be0c555c Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Wed, 13 May 2026 13:51:02 +0000 Subject: [PATCH] add new coordination and design file types --- src/app/db/schema/uploaded_files.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/db/schema/uploaded_files.ts b/src/app/db/schema/uploaded_files.ts index 85c129b..7d18a5d 100644 --- a/src/app/db/schema/uploaded_files.ts +++ b/src/app/db/schema/uploaded_files.ts @@ -2,6 +2,7 @@ import { bigint, bigserial, pgEnum, pgTable, text, timestamp } from "drizzle-orm import { user } from "./users"; export const fileType = pgEnum("file_type", [ + // Assessment "photo_pack", "site_note", "rd_sap_site_note", @@ -48,7 +49,12 @@ export const fileType = pgEnum("file_type", [ "installer_feedback", "contractor_other", // MagicPlan - "magic_plan_json" + "magic_plan_json", + // Coordination + "improvement_option_evaluation", + "medium_term_improvement_plan", + // Design + "retrofit_design_doc" ]); export const fileSource = pgEnum("file_source", [