正在显示
1 个修改的文件
包含
11 行增加
和
0 行删除
@@ -26,6 +26,17 @@ func init() { | @@ -26,6 +26,17 @@ func init() { | ||
26 | if !constant.DISABLE_CREATE_TABLE { | 26 | if !constant.DISABLE_CREATE_TABLE { |
27 | for _, model := range []interface{}{ | 27 | for _, model := range []interface{}{ |
28 | &models.ColumnSetting{}, | 28 | &models.ColumnSetting{}, |
29 | + &models.AdminPermission{}, | ||
30 | + &models.BusinessBonus{}, | ||
31 | + &models.Company{}, | ||
32 | + &models.OrderBase{}, | ||
33 | + &models.OrderBestshop{}, | ||
34 | + &models.OrderGood{}, | ||
35 | + &models.OrderGoodBestshop{}, | ||
36 | + &models.OrderLog{}, | ||
37 | + &models.PartnerCategoryInfo{}, | ||
38 | + &models.PartnerInfo{}, | ||
39 | + &models.Users{}, | ||
29 | } { | 40 | } { |
30 | err := DB.Model(model).CreateTable(&orm.CreateTableOptions{ | 41 | err := DB.Model(model).CreateTable(&orm.CreateTableOptions{ |
31 | Temp: false, | 42 | Temp: false, |
-
请 注册 或 登录 后发表评论