diff --git a/pkg/cloudcommon/db/opslog.go b/pkg/cloudcommon/db/opslog.go index 285476588b..72091f4fd6 100644 --- a/pkg/cloudcommon/db/opslog.go +++ b/pkg/cloudcommon/db/opslog.go @@ -52,7 +52,7 @@ type SOpsLog struct { ObjId string `width:"128" charset:"ascii" nullable:"false" list:"user" create:"required" index:"true"` ObjName string `width:"128" charset:"utf8" nullable:"false" list:"user" create:"required"` Action string `width:"32" charset:"utf8" nullable:"false" list:"user" create:"required"` - Notes string `charset:"utf8" list:"user" create:"required"` + Notes string `charset:"utf8" list:"user" create:"optional"` ProjectId string `name:"tenant_id" width:"128" charset:"ascii" list:"user" create:"optional" index:"true"` Project string `name:"tenant" width:"128" charset:"utf8" list:"user" create:"optional"`