Skip to content

Commit

Permalink
Merge pull request #87 from UN-OCHA/HPC-8404-2
Browse files Browse the repository at this point in the history
Drop `creator` column from `disaggregationModel` table
  • Loading branch information
Pl217 authored Apr 1, 2022
2 parents 062e123 + 7b45993 commit 3299cd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unocha/hpc-api-core",
"version": "4.1.3",
"version": "4.2.0",
"description": "Core libraries supporting HPC.Tools API Backend",
"license": "Apache-2.0",
"private": false,
Expand Down
5 changes: 1 addition & 4 deletions src/db/models/disaggregationModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,9 @@ export default defineIDModel({
},
required: {
name: { kind: 'checked', type: t.string },
creator: { kind: 'checked', type: DISAGGREGATION_MODEL_CREATOR },
value: { kind: 'checked', type: DISAGGREGATION_MODEL_VALUE },
planId: { kind: 'checked', type: PLAN_ID },
},
optional: {
creatorParticipantId: { kind: 'branded-integer', brand: PARTICIPANT_ID },
planId: { kind: 'checked', type: PLAN_ID },
},
},
idField: 'id',
Expand Down

0 comments on commit 3299cd3

Please sign in to comment.