fix: make notify template example field nullable (#14085)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2022-04-20 15:01:31 +08:00
committed by GitHub
parent dd1d59a571
commit 1e18f6db90
+1 -1
View File
@@ -74,7 +74,7 @@ type STemplate struct {
TemplateType string `width:"10" nullable:"false" create:"required" update:"user" list:"user"`
Content string `length:"text" nullable:"false" create:"required" get:"user" list:"user" update:"user"`
Lang string `width:"8" charset:"ascii" nullable:"false" list:"user" update:"user" create:"optional"`
Example string `nullable:"false" create:"optional" get:"user" list:"user" update:"user"`
Example string `nullable:"true" create:"optional" get:"user" list:"user" update:"user"`
}
const (