From 5dba310cc097083a83be15c3a1fc42b2c124a568 Mon Sep 17 00:00:00 2001 From: Delgee Date: Thu, 5 Sep 2024 15:19:18 +0800 Subject: [PATCH 1/3] Add OneGMS system ids --- src/db/models/externalData.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/db/models/externalData.ts b/src/db/models/externalData.ts index adbb57e2..9f51b7c5 100644 --- a/src/db/models/externalData.ts +++ b/src/db/models/externalData.ts @@ -23,6 +23,8 @@ export const EXTERNAL_DATA_SYSTEM_ID = t.keyof({ 'OCT-CERF': null, 'OCT-CBPF': null, 'OCT-OCHA': null, + 'OneGMS-CBPF': null, + 'OneGMS-CERF': null, }); export const EXTERNAL_DATA_OBJECT_TYPE = t.keyof({ From eb653b2591c69b04eb22bb14e792a8c9758b5630 Mon Sep 17 00:00:00 2001 From: Delgee Date: Mon, 9 Sep 2024 15:11:51 +0800 Subject: [PATCH 2/3] Add new lookup table entry --- src/db/models/lookup.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/db/models/lookup.ts b/src/db/models/lookup.ts index 8eba4a16..393ef4db 100644 --- a/src/db/models/lookup.ts +++ b/src/db/models/lookup.ts @@ -19,14 +19,18 @@ export const OUTPUT_FIELD = t.keyof({ ORGANIZATION_INTERSECTION: null, LOCATION: null, EARMARKING_TYPE: null, + GLOBAL_CLUSTER: null, }); export const INPUT_FIELD = t.keyof({ + ONEGMS_DONOR: null, DONOR: null, FUNDING_SOURCE: null, ALLOCATION_STATUS: null, IMIS_CODE: null, GRAND_BARGAIN_EARMARKING: null, + ONEGMS_GLOBAL_CLUSTER: null, + ONEGMS_FIELD_SECTOR: null, }); export default defineIDModel({ From 8979aebc5b13801b7c67727f3dc019c35135f31f Mon Sep 17 00:00:00 2001 From: Delgee Date: Fri, 29 Nov 2024 23:52:15 +0800 Subject: [PATCH 3/3] Add `ftsOneGmsIngestion` to highwater --- src/db/models/highWater.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/db/models/highWater.ts b/src/db/models/highWater.ts index b9a13df0..af204dc9 100644 --- a/src/db/models/highWater.ts +++ b/src/db/models/highWater.ts @@ -11,6 +11,7 @@ export const HIGHWATER_JOB_NAME = t.keyof({ ftsOctCerfIngestion: null, ftsOctCbpfIngestion: null, ftsOctOchaIngestion: null, + ftsOneGmsIngestion: null, }); export default defineSequelizeModel({