- 将jdid去掉唯一索引,这样在创建前就可以设置成0值了,不需要再用一个假的ID值
This commit is contained in:
@@ -144,6 +144,11 @@ type SkuCategory struct {
|
||||
func (*SkuCategory) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Name", "Level", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
func (*SkuCategory) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"JdID", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user