取消StoreCourierMap的VendorStoreID唯一限制
This commit is contained in:
@@ -436,7 +436,12 @@ type StoreCourierMap struct {
|
|||||||
func (*StoreCourierMap) TableUnique() [][]string {
|
func (*StoreCourierMap) TableUnique() [][]string {
|
||||||
return [][]string{
|
return [][]string{
|
||||||
[]string{"StoreID", "VendorID", "DeletedAt"},
|
[]string{"StoreID", "VendorID", "DeletedAt"},
|
||||||
// []string{"VendorStoreID", "VendorID", "DeletedAt"},
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*StoreCourierMap) TableIndex() [][]string {
|
||||||
|
return [][]string{
|
||||||
|
[]string{"VendorStoreID", "VendorID", "DeletedAt"},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user