diff --git a/business/model/store.go b/business/model/store.go index 07c992716..39434aa27 100644 --- a/business/model/store.go +++ b/business/model/store.go @@ -436,7 +436,12 @@ type StoreCourierMap struct { func (*StoreCourierMap) TableUnique() [][]string { return [][]string{ []string{"StoreID", "VendorID", "DeletedAt"}, - // []string{"VendorStoreID", "VendorID", "DeletedAt"}, + } +} + +func (*StoreCourierMap) TableIndex() [][]string { + return [][]string{ + []string{"VendorStoreID", "VendorID", "DeletedAt"}, } }