Merge pull request #12819 from swordqiu/hotfix/qj-logger-create-fail-for-empty-notes

fix: fail to insert action log with empty notes
This commit is contained in:
Zexi Li
2021-12-06 00:03:58 +08:00
committed by GitHub
+1 -1
View File
@@ -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"`