Skip to content

Commit

Permalink
improve: App.PermitAllGroup 添加索引
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmx233 committed Dec 20, 2023
1 parent 816cdbd commit 74938b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/dao/App.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type App struct {
AppCode string `gorm:"not null;uniqueIndex;type:varchar(36)"`
AppSecret string `gorm:"not null"`
Callback string `gorm:"not null"`
PermitAllGroup bool
PermitAllGroup bool `gorm:"index"`
// 以下仅用于导航标识
LinkOff bool `gorm:"index"`
Views uint64 `gorm:"index"`
Expand Down

0 comments on commit 74938b5

Please sign in to comment.