This is an automated email from the ASF dual-hosted git repository.
warren pushed a commit to branch release-v0.16-hexun-patch
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.16-hexun-patch by
this push:
new e70065cdc fix(tapd): fix custom fields for task and story models
e70065cdc is described below
commit e70065cdc43d2cacbb95d6265f9bb2b5ec202023
Author: Yingchu Chen <[email protected]>
AuthorDate: Tue Apr 25 17:13:14 2023 +0800
fix(tapd): fix custom fields for task and story models
---
backend/plugins/tapd/models/story.go | 6 +++---
backend/plugins/tapd/models/task.go | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/backend/plugins/tapd/models/story.go
b/backend/plugins/tapd/models/story.go
index 79e7140ae..006c667ec 100644
--- a/backend/plugins/tapd/models/story.go
+++ b/backend/plugins/tapd/models/story.go
@@ -82,9 +82,9 @@ type TapdStory struct {
CustomFieldThree string `json:"custom_field_three" gorm:"type:text"`
CustomFieldFour string `json:"custom_field_four" gorm:"type:text"`
CustomFieldFive string `json:"custom_field_five" gorm:"type:text"`
- CustomField6 string `json:"custom_field_six" gorm:"type:text"`
- CustomField7 string `json:"custom_field_seven" gorm:"type:text"`
- CustomField8 string `json:"custom_field_eight" gorm:"type:text"`
+ CustomFieldSix string `json:"custom_field_six" gorm:"type:text"`
+ CustomFieldSeven string `json:"custom_field_seven" gorm:"type:text"`
+ CustomFieldEight string `json:"custom_field_eight" gorm:"type:text"`
CustomField9 string `json:"custom_field_9"
gorm:"type:text;column:custom_field_9"`
CustomField10 string `json:"custom_field_10"
gorm:"type:text;column:custom_field_10"`
CustomField11 string `json:"custom_field_11"
gorm:"type:text;column:custom_field_11"`
diff --git a/backend/plugins/tapd/models/task.go
b/backend/plugins/tapd/models/task.go
index bd9f70852..7b59791d7 100644
--- a/backend/plugins/tapd/models/task.go
+++ b/backend/plugins/tapd/models/task.go
@@ -64,9 +64,9 @@ type TapdTask struct {
CustomFieldThree string `json:"custom_field_three" gorm:"type:text"`
CustomFieldFour string `json:"custom_field_four" gorm:"type:text"`
CustomFieldFive string `json:"custom_field_five" gorm:"type:text"`
- CustomField6 string `json:"custom_field_six" gorm:"type:text"`
- CustomField7 string `json:"custom_field_seven" gorm:"type:text"`
- CustomField8 string `json:"custom_field_eight" gorm:"type:text"`
+ CustomFieldSix string `json:"custom_field_six" gorm:"type:text"`
+ CustomFieldSeven string `json:"custom_field_seven" gorm:"type:text"`
+ CustomFieldEight string `json:"custom_field_eight" gorm:"type:text"`
CustomField9 string `json:"custom_field_9"
gorm:"type:text;column:custom_field_9"`
CustomField10 string `json:"custom_field_10"
gorm:"type:text;column:custom_field_10"`
CustomField11 string `json:"custom_field_11"
gorm:"type:text;column:custom_field_11"`