mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
Merge pull request #312 from Hestia-Homes/feature/new-file-type-and-source-for-audits
New file type and source for audits
This commit is contained in:
commit
23a275ae85
4 changed files with 10940 additions and 1 deletions
2
src/app/db/migrations/0230_wet_epoch.sql
Normal file
2
src/app/db/migrations/0230_wet_epoch.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TYPE "public"."file_source" ADD VALUE 'audit_generator';--> statement-breakpoint
|
||||
ALTER TYPE "public"."file_type" ADD VALUE 'ventilation_audit' BEFORE 'other';
|
||||
10926
src/app/db/migrations/meta/0230_snapshot.json
Normal file
10926
src/app/db/migrations/meta/0230_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1604,6 +1604,13 @@
|
|||
"when": 1780929304935,
|
||||
"tag": "0229_lively_kree",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 230,
|
||||
"version": "7",
|
||||
"when": 1781013441630,
|
||||
"tag": "0230_wet_epoch",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -55,8 +55,11 @@ export const fileType = pgEnum("file_type", [
|
|||
"medium_term_improvement_plan",
|
||||
// Design
|
||||
"retrofit_design_doc",
|
||||
// Audit
|
||||
"ventilation_audit",
|
||||
// Other
|
||||
"other"
|
||||
|
||||
]);
|
||||
|
||||
export const fileSource = pgEnum("file_source", [
|
||||
|
|
@ -66,7 +69,8 @@ export const fileSource = pgEnum("file_source", [
|
|||
"ecmk",
|
||||
"contractor",
|
||||
"magic_plan",
|
||||
"coordination_hub"
|
||||
"coordination_hub",
|
||||
"audit_generator"
|
||||
]);
|
||||
|
||||
export const uploadedFiles = pgTable(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue