Merge pull request #216 from Hestia-Homes/feature/uploaded-files-table
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:
Daniel Roth 2026-04-07 17:36:29 +01:00 committed by GitHub
commit 75d6ce9591
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6335 additions and 2 deletions

View 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';

File diff suppressed because it is too large Load diff

View file

@ -1156,6 +1156,13 @@
"when": 1775310006908,
"tag": "0164_high_sumo",
"breakpoints": true
},
{
"idx": 165,
"version": "7",
"when": 1775577933185,
"tag": "0165_small_khan",
"breakpoints": true
}
]
}

View file

@ -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(