取消StoreCourierMap的VendorStoreID唯一限制

This commit is contained in:
gazebo
2020-02-07 10:19:58 +08:00
parent 70a3f59026
commit a26ce01901

View File

@@ -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"},
}
}