- 去除几个误用ZeroTimeValue的地方
This commit is contained in:
@@ -89,7 +89,12 @@ type ActMap struct {
|
||||
func (*ActMap) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"ActID", "VendorID", "DeletedAt"},
|
||||
[]string{"VendorActID", "VendorID", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
func (*ActMap) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"VendorActID", "VendorID", "DeletedAt"}, // 饿百,美团活动的VendorActID统一为空,不能设置为唯一索引
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user