mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Merge pull request #270 from Hestia-Homes/feature/pashub-additional-files
Some checks failed
Test Suite / unit-tests (push) Has been cancelled
Some checks failed
Test Suite / unit-tests (push) Has been cancelled
New file types for Coordination and Design files
This commit is contained in:
commit
707df2dea9
4 changed files with 9445 additions and 1 deletions
3
src/app/db/migrations/0203_kind_spyke.sql
Normal file
3
src/app/db/migrations/0203_kind_spyke.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ALTER TYPE "public"."file_type" ADD VALUE 'improvement_option_evaluation';--> statement-breakpoint
|
||||
ALTER TYPE "public"."file_type" ADD VALUE 'medium_term_improvement_plan';--> statement-breakpoint
|
||||
ALTER TYPE "public"."file_type" ADD VALUE 'retrofit_design_doc';
|
||||
9428
src/app/db/migrations/meta/0203_snapshot.json
Normal file
9428
src/app/db/migrations/meta/0203_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1422,6 +1422,13 @@
|
|||
"when": 1778666596489,
|
||||
"tag": "0202_furry_mister_sinister",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 203,
|
||||
"version": "7",
|
||||
"when": 1778680271996,
|
||||
"tag": "0203_kind_spyke",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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", [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue