mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-08 21:14:30 +02:00
Execute update queries only for certain rows in migration 34
This commit is contained in:
parent
b2b877a8c3
commit
8785fe02e8
1 changed files with 5 additions and 0 deletions
|
|
@ -50,6 +50,11 @@ private void MigrateHistoryDataTitle(IDbConnection conn, IDbTransaction tran)
|
|||
|
||||
data = jsonObject.ToJson();
|
||||
|
||||
if (!jsonObject.ContainsKey("grabTitle") && !jsonObject.ContainsKey("title"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
updatedHistory.Add(new
|
||||
{
|
||||
Id = id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue