Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmx233 committed Dec 20, 2023
2 parents 783faef + df0b739 commit 58e0106
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 @@ -11,7 +11,7 @@ type App struct {
// User.ID 拥有者
UID uint `gorm:"column:uid;index"`
User *User `gorm:"foreignKey:UID;constraint:OnDelete:SET NULL"`
Name string `gorm:"not null;uniqueIndex;type:varchar(20)"`
Name string `gorm:"not null;uniqueIndex;type:varchar(20);index:idx_apps_permit_all_nav,priority:4"`
AppCode string `gorm:"not null;uniqueIndex;type:varchar(36)"`
AppSecret string `gorm:"not null"`
Callback string `gorm:"not null"`
Expand Down

0 comments on commit 58e0106

Please sign in to comment.