SkuName添加Upc, DeletedAt唯一索引
This commit is contained in:
@@ -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"},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user