- SkuName unique index include deleted_at

This commit is contained in:
gazebo
2018-10-29 14:05:01 +08:00
parent 9b724e5789
commit 91ec739b0b

View File

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