From fc9e1719b7e66362e17fa38b9e0ca5dfe546149c Mon Sep 17 00:00:00 2001 From: rainzm Date: Mon, 30 Aug 2021 16:52:34 +0800 Subject: [PATCH] fix(region): delete the wrong tag 'nullable:false' --- pkg/notify/models/receiver_notification.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/notify/models/receiver_notification.go b/pkg/notify/models/receiver_notification.go index 2f2822c1da..5f7741ff09 100644 --- a/pkg/notify/models/receiver_notification.go +++ b/pkg/notify/models/receiver_notification.go @@ -58,12 +58,12 @@ type SReceiverNotification struct { ReceiverID string `width:"128" charset:"ascii" nullable:"false" index:"true"` NotificationID string `width:"128" charset:"ascii" nullable:"false" index:"true"` // ignore if ReceiverID is not empty or default - Contact string `width:"128" nullable:"false" index:"true"` - ReceiverType string `width:"16"` - SendAt time.Time `nullable:"false"` - SendBy string `width:"128" nullable:"false"` - Status string `width:"36" charset:"ascii"` - FailedReason string `width:"1024"` + Contact string `width:"128" index:"true"` + ReceiverType string `width:"16"` + SendAt time.Time + SendBy string `width:"128"` + Status string `width:"36" charset:"ascii"` + FailedReason string `width:"1024"` } func (self *SReceiverNotificationManager) InitializeData() error {