Commit 7244adad by delph1s Committed by GitHub

fix: try to fix pgsql #685

parent eec3aa3b
...@@ -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