Commit a835920f by Calcium-Ion Committed by GitHub

Merge pull request #686 from delph1s/main

fix: try to fix pgsql #685
parents eec3aa3b 7244adad
...@@ -119,6 +119,7 @@ func SearchChannels(keyword string, group string, model string, idSort bool) ([] ...@@ -119,6 +119,7 @@ func SearchChannels(keyword string, group string, model string, idSort bool) ([]
// 如果是 PostgreSQL,使用双引号 // 如果是 PostgreSQL,使用双引号
if common.UsingPostgreSQL { if common.UsingPostgreSQL {
keyCol = `"key"` keyCol = `"key"`
modelsCol = `"models"`
} }
order := "priority desc" order := "priority desc"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment