Exclude RSS history events in migration

pull/1754/head
Bogdan 1 year ago
parent 20df31919d
commit e0e1b1494e

@ -23,7 +23,7 @@ namespace NzbDrone.Core.Datastore.Migration
using (var selectCommand = conn.CreateCommand())
{
selectCommand.Transaction = tran;
selectCommand.CommandText = "SELECT \"Id\", \"Data\", \"EventType\" FROM \"History\"";
selectCommand.CommandText = "SELECT \"Id\", \"Data\", \"EventType\" FROM \"History\" WHERE \"EventType\" != 3";
using var reader = selectCommand.ExecuteReader();

Loading…
Cancel
Save