取消StoreCourierMap的VendorStoreID唯一限制

This commit is contained in:
gazebo
2020-02-07 10:00:48 +08:00
parent 811ddc82b3
commit 763fae34df

View File

@@ -436,7 +436,7 @@ type StoreCourierMap struct {
func (*StoreCourierMap) TableUnique() [][]string {
return [][]string{
[]string{"StoreID", "VendorID", "DeletedAt"},
[]string{"VendorStoreID", "VendorID", "DeletedAt"},
// []string{"VendorStoreID", "VendorID", "DeletedAt"},
}
}