add new coordination and design file types

This commit is contained in:
Daniel Roth 2026-05-13 13:51:02 +00:00
parent 418175f2c6
commit 452a2cd61d

View file

@ -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", [