mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #9945 from rainzm/automated-cherry-pick-of-#9944-upstream-release-3.7
Automated cherry pick of #9944: fix(notify): add index fro receiver_notification
This commit is contained in:
@@ -39,10 +39,10 @@ const (
|
||||
type SReceiverNotification struct {
|
||||
db.SJointResourceBase
|
||||
|
||||
ReceiverID string `width:"128" charset:"ascii" nullable:"false"`
|
||||
NotificationID string `width:"128" charset:"ascii" nullable:"false"`
|
||||
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"`
|
||||
Contact string `width:"128" nullable:"false" index:"true"`
|
||||
SendAt time.Time `nullable:"false"`
|
||||
SendBy string `width:"128" nullable:"false"`
|
||||
Status string `width:"36" charset:"ascii"`
|
||||
|
||||
Reference in New Issue
Block a user