Skip to content

Commit

Permalink
HPC-9489: Add new fields to PlanVersion model
Browse files Browse the repository at this point in the history
 - shortName
 - pdfPublishDate
 - typeName
 - isPartOfGHO
  • Loading branch information
enxtur committed Jun 26, 2024
1 parent 62f4ca8 commit b862f0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/db/models/planVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand All @@ -57,6 +60,7 @@ export default defineLegacyVersionedModel({
kind: 'checked',
type: PLAN_VERSION_CLUSTER_SELECTION_TYPE,
},
pdfPublishDate: { kind: 'checked', type: DATE },
},
},
idField: 'id',
Expand Down

0 comments on commit b862f0e

Please sign in to comment.