diff --git a/src/NzbDrone.Core/Datastore/Migration/017_remove_nma.cs b/src/NzbDrone.Core/Datastore/Migration/017_remove_nma.cs index 530506dc4..177ca24e5 100644 --- a/src/NzbDrone.Core/Datastore/Migration/017_remove_nma.cs +++ b/src/NzbDrone.Core/Datastore/Migration/017_remove_nma.cs @@ -8,7 +8,7 @@ namespace NzbDrone.Core.Datastore.Migration { protected override void MainDbUpgrade() { - Execute.Sql("DELETE FROM Notifications WHERE Implementation = 'Notify My Android';"); + Delete.FromTable("Notifications").Row(new { Implementation = "NotifyMyAndroid" }); } } }