diff --git a/internal/db/dao/App.go b/internal/db/dao/App.go index 1965dab..916ffb2 100644 --- a/internal/db/dao/App.go +++ b/internal/db/dao/App.go @@ -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"`