- 将jdid去掉唯一索引,这样在创建前就可以设置成0值了,不需要再用一个假的ID值

This commit is contained in:
gazebo
2019-03-26 14:48:53 +08:00
parent 51f736976d
commit 087feb94ed
4 changed files with 1252 additions and 1109 deletions

View File

@@ -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"},
}
}