Fixed: Tag details query broken for Postgres

This commit is contained in:
Qstick 2023-08-13 13:26:05 -05:00
parent 2a7964bc16
commit 3b3bb5971c
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ namespace NzbDrone.Core.Tv
{
using (var conn = _database.OpenConnection())
{
var strSql = "SELECT Id AS [Key], Tags AS [Value] FROM Series WHERE Tags IS NOT NULL";
var strSql = "SELECT \"Id\" AS Key, \"Tags\" AS Value FROM \"Series\" WHERE \"Tags\" IS NOT NULL";
return conn.Query<KeyValuePair<int, List<int>>>(strSql).ToDictionary(x => x.Key, x => x.Value);
}
}