From 022a522a212e000b9c9a2673d35ff90ca3b41474 Mon Sep 17 00:00:00 2001 From: Zexi Li Date: Wed, 6 Jul 2022 16:08:44 +0800 Subject: [PATCH] fix(notify): adjust email width of receiver to 128 --- pkg/notify/models/receiver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/notify/models/receiver.go b/pkg/notify/models/receiver.go index 652aef0f9d..b43b7fe0b7 100644 --- a/pkg/notify/models/receiver.go +++ b/pkg/notify/models/receiver.go @@ -95,7 +95,7 @@ type SReceiver struct { db.SDomainizedResourceBase db.SEnabledResourceBase - Email string `width:"64" nullable:"false" create:"optional" update:"user" get:"user" list:"user"` + Email string `width:"128" nullable:"false" create:"optional" update:"user" get:"user" list:"user"` // swagger:ignore Mobile string `width:"32" nullable:"false" create:"optional"` Lang string `width:"8" charset:"ascii" nullable:"false" list:"user" update:"user"`