From 3eac7b5926cf7ca94605bd8befdf32c6736acb84 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sun, 22 Feb 2026 13:37:04 +0800 Subject: [PATCH] comment --- models/user/user.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/models/user/user.go b/models/user/user.go index 44a2669f76..3226d31017 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -156,7 +156,10 @@ type User struct { Theme string `xorm:"NOT NULL DEFAULT ''"` KeepActivityPrivate bool `xorm:"NOT NULL DEFAULT false"` - ExtDoerData ExtDoerData + // When the user model is used as a doer (all existing code does so), the doer can have extra details. + // * Actions task doer need to bind to the task ID + // * Project workflow doer need to bind to the project ID and workflow event + ExtDoerData ExtDoerData `xorm:"-"` } // Meta defines the meta information of a user, to be stored in the K/V table