- sku_category unique index add level.
This commit is contained in:
@@ -142,7 +142,7 @@ type SkuCategory struct {
|
|||||||
|
|
||||||
func (*SkuCategory) TableUnique() [][]string {
|
func (*SkuCategory) TableUnique() [][]string {
|
||||||
return [][]string{
|
return [][]string{
|
||||||
[]string{"Name", "DeletedAt"},
|
[]string{"Name", "DeletedAt", "Level"},
|
||||||
[]string{"JdID", "DeletedAt"},
|
[]string{"JdID", "DeletedAt"},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user