From 02e04bfbfa368ddbfd58cbbe5f87d5d903530084 Mon Sep 17 00:00:00 2001 From: enxtur Date: Thu, 11 Apr 2024 23:42:52 +0800 Subject: [PATCH 1/2] HPC-9163: Add isCommentPublic field to measurement model --- src/db/models/measurement.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/db/models/measurement.ts b/src/db/models/measurement.ts index 2f6e7f7d..6fc2100d 100644 --- a/src/db/models/measurement.ts +++ b/src/db/models/measurement.ts @@ -27,6 +27,12 @@ export default defineLegacyVersionedModel({ brand: PLAN_REPORTING_PERIOD_ID, }, }, + nonNullWithDefault: { + isCommentPublic: { + kind: 'checked', + type: t.boolean, + }, + }, }, idField: 'id', softDeletionEnabled: true, From d1df77dabdd23e0cb465c0b57c3a1516af2c68e7 Mon Sep 17 00:00:00 2001 From: enxtur Date: Mon, 13 May 2024 17:57:32 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=96=20Bump=20version=20to=20`v7.7.?= =?UTF-8?q?0`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 02a2ab51..5ecb90b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@unocha/hpc-api-core", - "version": "7.6.0", + "version": "7.7.0", "description": "Core libraries supporting HPC.Tools API Backend", "license": "Apache-2.0", "private": false,