mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Merge pull request #265 from Hestia-Homes/feature/new-file-types
Some checks failed
Test Suite / unit-tests (push) Has been cancelled
Some checks failed
Test Suite / unit-tests (push) Has been cancelled
Uploaded Files: new file type and file source for MagicPlan
This commit is contained in:
commit
88af4ec00e
4 changed files with 9401 additions and 0 deletions
2
src/app/db/migrations/0199_rich_mandroid.sql
Normal file
2
src/app/db/migrations/0199_rich_mandroid.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TYPE "public"."file_source" ADD VALUE 'magic_plan';--> statement-breakpoint
|
||||
ALTER TYPE "public"."file_type" ADD VALUE 'magic_plan_json';
|
||||
9389
src/app/db/migrations/meta/0199_snapshot.json
Normal file
9389
src/app/db/migrations/meta/0199_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1394,6 +1394,13 @@
|
|||
"when": 1778176651140,
|
||||
"tag": "0198_panoramic_triathlon",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 199,
|
||||
"version": "7",
|
||||
"when": 1778249728162,
|
||||
"tag": "0199_rich_mandroid",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -47,6 +47,8 @@ export const fileType = pgEnum("file_type", [
|
|||
"installer_qualifications",
|
||||
"installer_feedback",
|
||||
"contractor_other",
|
||||
// MagicPlan
|
||||
"magic_plan_json"
|
||||
]);
|
||||
|
||||
export const fileSource = pgEnum("file_source", [
|
||||
|
|
@ -55,6 +57,7 @@ export const fileSource = pgEnum("file_source", [
|
|||
"hubspot",
|
||||
"ecmk",
|
||||
"contractor",
|
||||
"magic_plan"
|
||||
]);
|
||||
|
||||
export const uploadedFiles = pgTable(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue