From 3b9d4710502163a1b9fe0d25c94dc8afeee43fff Mon Sep 17 00:00:00 2001 From: luca Date: Fri, 15 Sep 2023 10:15:51 +0200 Subject: [PATCH 1/3] refactor: rename trackedentitycomment to note --- releases/2.41/README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/releases/2.41/README.md b/releases/2.41/README.md index 0877aa0f..c5a9056e 100644 --- a/releases/2.41/README.md +++ b/releases/2.41/README.md @@ -119,6 +119,8 @@ We have renamed some tables and columns following tracker's new [naming](#naming Therefore, we align the database's names with the changes applied to `trackedEntityInstance`, `programInstance`, and `programStageInstance`. +Furthermore, we also align the`trackedentitycomment` and related database tables to the API naming of `note`. + #### Renamed Tables | Old Table Name | New Table Name | @@ -127,10 +129,11 @@ Therefore, we align the database's names with the changes applied to `trackedEnt | programinstance | enrollment | | programstageinstance | event | | programstageinstancefilter | eventfilter | -| programstageinstancecomments| eventcomments | -| programinstancecomments | enrollmentcomments | | trackedentityinstanceaudit | trackedentityaudit | | trackedentityinstancefilter | trackedentityfilter | +| trackedentitycomment | note | +| programstageinstancecomments| event_notes | +| programinstancecomments | enrollment_notes | #### Renamed Columns @@ -175,6 +178,14 @@ The following `trackedentityinstance` related columns have been renamed | programtempowner | trackedentityinstanceid | trackedentityid | | programownershiphistory | trackedentityinstanceid | trackedentityid | +The following `trackedentitycomment` related columns have been renamed + +| Table (new names) | Column Old Name | Column New Name | +| ---------------------------------|:------------------------------:|-----------------------:| +| note | trackedentitycommentid | noteid | +| note | commenttext | notetext | +| event_comments | trackedentitycommentid | noteid | +| enrollment_comments | trackedentitycommentid | noteid | #### Postgres Reference From 39e01bdc9c677971bdcd2254b908717650d4bc34 Mon Sep 17 00:00:00 2001 From: luca Date: Fri, 15 Sep 2023 10:24:58 +0200 Subject: [PATCH 2/3] fix margin --- releases/2.41/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/2.41/README.md b/releases/2.41/README.md index c5a9056e..c7fe4e58 100644 --- a/releases/2.41/README.md +++ b/releases/2.41/README.md @@ -183,7 +183,7 @@ The following `trackedentitycomment` related columns have been renamed | Table (new names) | Column Old Name | Column New Name | | ---------------------------------|:------------------------------:|-----------------------:| | note | trackedentitycommentid | noteid | -| note | commenttext | notetext | +| note | commenttext | notetext | | event_comments | trackedentitycommentid | noteid | | enrollment_comments | trackedentitycommentid | noteid | From 17efb01de6936308c4dbf756c7832d0bcef8ba2e Mon Sep 17 00:00:00 2001 From: lucaCambi77 Date: Fri, 15 Sep 2023 11:03:53 +0200 Subject: [PATCH 3/3] Update releases/2.41/README.md Co-authored-by: teleivo --- releases/2.41/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/2.41/README.md b/releases/2.41/README.md index c7fe4e58..3ce5d78d 100644 --- a/releases/2.41/README.md +++ b/releases/2.41/README.md @@ -119,7 +119,7 @@ We have renamed some tables and columns following tracker's new [naming](#naming Therefore, we align the database's names with the changes applied to `trackedEntityInstance`, `programInstance`, and `programStageInstance`. -Furthermore, we also align the`trackedentitycomment` and related database tables to the API naming of `note`. +Furthermore, we also align the `trackedentitycomment` and its related database tables to the API naming of `note`. #### Renamed Tables