mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Merge pull request #216 from Hestia-Homes/feature/uploaded-files-table
Some checks are pending
Next.js Build Check / build (push) Waiting to run
Some checks are pending
Next.js Build Check / build (push) Waiting to run
Add new fields to file_type and file_source types for ECMK file loading
This commit is contained in:
commit
75d6ce9591
4 changed files with 6335 additions and 2 deletions
3
src/app/db/migrations/0165_small_khan.sql
Normal file
3
src/app/db/migrations/0165_small_khan.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ALTER TYPE "public"."file_source" ADD VALUE 'ecmk';--> statement-breakpoint
|
||||
ALTER TYPE "public"."file_type" ADD VALUE 'ecmk_site_note';--> statement-breakpoint
|
||||
ALTER TYPE "public"."file_type" ADD VALUE 'ecmk_rd_sap_site_note';
|
||||
6320
src/app/db/migrations/meta/0165_snapshot.json
Normal file
6320
src/app/db/migrations/meta/0165_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1156,6 +1156,13 @@
|
|||
"when": 1775310006908,
|
||||
"tag": "0164_high_sumo",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 165,
|
||||
"version": "7",
|
||||
"when": 1775577933185,
|
||||
"tag": "0165_small_khan",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -9,13 +9,16 @@ export const fileType = pgEnum("file_type", [
|
|||
"pas_significance",
|
||||
"par_photo_pack",
|
||||
"pas_2023_property",
|
||||
"pas_2023_occupancy"
|
||||
"pas_2023_occupancy",
|
||||
"ecmk_site_note",
|
||||
"ecmk_rd_sap_site_note"
|
||||
]);
|
||||
|
||||
export const fileSource = pgEnum("file_source", [
|
||||
"pas hub",
|
||||
"sharepoint",
|
||||
"hubspot"
|
||||
"hubspot",
|
||||
"ecmk"
|
||||
]);
|
||||
|
||||
export const uploadedFiles = pgTable(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue