Skip to content

Commit

Permalink
Merge pull request #686 from delph1s/main
Browse files Browse the repository at this point in the history
fix: try to fix pgsql #685
  • Loading branch information
Calcium-Ion authored Jan 1, 2025
2 parents bf9a492 + 42bf95b commit ba1aad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ func SearchChannels(keyword string, group string, model string, idSort bool) ([]
// 如果是 PostgreSQL,使用双引号
if common.UsingPostgreSQL {
keyCol = `"key"`
modelsCol = `"models"`
}

order := "priority desc"
Expand Down

0 comments on commit ba1aad8

Please sign in to comment.