SkuName添加Upc, DeletedAt唯一索引

This commit is contained in:
gazebo
2019-12-23 18:23:05 +08:00
parent c730a28f19
commit ee0b400294

View File

@@ -206,7 +206,7 @@ type SkuName struct {
func (*SkuName) TableUnique() [][]string {
return [][]string{
[]string{"Name", "Prefix", "SpecQuality", "SpecUnit", "Unit", "IsSpu", "DeletedAt"},
// []string{"Upc", "DeletedAt"},
[]string{"Upc", "DeletedAt"},
}
}