From b862f0e0f5a8de38caa02be59963e6f21cd96000 Mon Sep 17 00:00:00 2001 From: enxtur Date: Wed, 17 Apr 2024 00:44:57 +0800 Subject: [PATCH] HPC-9489: Add new fields to PlanVersion model - shortName - pdfPublishDate - typeName - isPartOfGHO --- src/db/models/planVersion.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/db/models/planVersion.ts b/src/db/models/planVersion.ts index dbd6f056..d6157178 100644 --- a/src/db/models/planVersion.ts +++ b/src/db/models/planVersion.ts @@ -37,12 +37,15 @@ export default defineLegacyVersionedModel({ kind: 'checked', type: PLAN_VISIBILITY_PREFERENCES, }, + isPartOfGHO: { kind: 'checked', type: t.boolean }, }, required: { planId: { kind: 'branded-integer', brand: PLAN_ID }, name: { kind: 'checked', type: t.string }, + shortName: { kind: 'checked', type: t.string }, startDate: { kind: 'checked', type: DATE }, endDate: { kind: 'checked', type: DATE }, + typeName: { kind: 'checked', type: t.string }, }, optional: { comments: { kind: 'checked', type: t.string }, @@ -57,6 +60,7 @@ export default defineLegacyVersionedModel({ kind: 'checked', type: PLAN_VERSION_CLUSTER_SELECTION_TYPE, }, + pdfPublishDate: { kind: 'checked', type: DATE }, }, }, idField: 'id',