修改索引

This commit is contained in:
苏尹岚
2020-01-08 09:47:09 +08:00
parent f5e8860b0a
commit 5fed851b8d

View File

@@ -476,7 +476,7 @@ type PriceReferSnapshot struct {
func (*PriceReferSnapshot) TableUnique() [][]string {
return [][]string{
[]string{"CityCode", "SkuID", "SnapshotAt"},
[]string{"CityCode", "NameID", "SnapshotAt"},
[]string{"CityCode", "NameID", "SkuID", "SnapshotAt"},
}
}