From 15e343d22d4333cdcf175188c11fdf3b5c773a6a Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 27 May 2023 20:49:26 -0500 Subject: [PATCH] fixup! New: Postgres Database Support --- .../Datastore/DatabaseRelationshipFixture.cs | 2 -- src/NzbDrone.Core/Datastore/Migration/017_reset_scene_names.cs | 1 - .../Migration/081_move_dot_prefix_to_transmission_category.cs | 1 - .../Datastore/Migration/109_import_extra_files.cs | 1 - .../Datastore/Migration/122_add_remux_qualities_in_profile.cs | 1 - .../Datastore/Migration/134_add_specials_folder_format.cs | 1 - .../Datastore/Migration/171_add_custom_formats.cs | 2 -- src/NzbDrone.Core/Datastore/WhereBuilder.cs | 3 +-- src/NzbDrone.Test.Common/NzbDroneRunner.cs | 1 - 9 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs b/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs index c5f8dc67d..e40f9a0fa 100644 --- a/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs +++ b/src/NzbDrone.Core.Test/Datastore/DatabaseRelationshipFixture.cs @@ -3,9 +3,7 @@ using System.Collections.Generic; using System.Linq; using FizzWare.NBuilder; using FluentAssertions; -using FluentAssertions.Equivalency; using NUnit.Framework; -using NzbDrone.Core.Datastore; using NzbDrone.Core.History; using NzbDrone.Core.Languages; using NzbDrone.Core.MediaFiles; diff --git a/src/NzbDrone.Core/Datastore/Migration/017_reset_scene_names.cs b/src/NzbDrone.Core/Datastore/Migration/017_reset_scene_names.cs index 8a3a06414..ecdace0b6 100644 --- a/src/NzbDrone.Core/Datastore/Migration/017_reset_scene_names.cs +++ b/src/NzbDrone.Core/Datastore/Migration/017_reset_scene_names.cs @@ -1,4 +1,3 @@ -using System; using FluentMigrator; using NzbDrone.Core.Datastore.Migration.Framework; diff --git a/src/NzbDrone.Core/Datastore/Migration/081_move_dot_prefix_to_transmission_category.cs b/src/NzbDrone.Core/Datastore/Migration/081_move_dot_prefix_to_transmission_category.cs index 4b8133087..f77f92e26 100644 --- a/src/NzbDrone.Core/Datastore/Migration/081_move_dot_prefix_to_transmission_category.cs +++ b/src/NzbDrone.Core/Datastore/Migration/081_move_dot_prefix_to_transmission_category.cs @@ -6,7 +6,6 @@ using Newtonsoft.Json.Linq; using NzbDrone.Common.Extensions; using NzbDrone.Common.Serializer; using NzbDrone.Core.Datastore.Migration.Framework; -using NzbDrone.Core.Profiles.Qualities; namespace NzbDrone.Core.Datastore.Migration { diff --git a/src/NzbDrone.Core/Datastore/Migration/109_import_extra_files.cs b/src/NzbDrone.Core/Datastore/Migration/109_import_extra_files.cs index 3acfffebd..9499c42e2 100644 --- a/src/NzbDrone.Core/Datastore/Migration/109_import_extra_files.cs +++ b/src/NzbDrone.Core/Datastore/Migration/109_import_extra_files.cs @@ -1,6 +1,5 @@ using System.Data; using FluentMigrator; -using Newtonsoft.Json.Linq; using NzbDrone.Common.Extensions; using NzbDrone.Core.Datastore.Migration.Framework; diff --git a/src/NzbDrone.Core/Datastore/Migration/122_add_remux_qualities_in_profile.cs b/src/NzbDrone.Core/Datastore/Migration/122_add_remux_qualities_in_profile.cs index aa06b8e17..29d6ae019 100644 --- a/src/NzbDrone.Core/Datastore/Migration/122_add_remux_qualities_in_profile.cs +++ b/src/NzbDrone.Core/Datastore/Migration/122_add_remux_qualities_in_profile.cs @@ -6,7 +6,6 @@ using FluentMigrator; using Newtonsoft.Json; using NzbDrone.Common.Serializer; using NzbDrone.Core.Datastore.Migration.Framework; -using NzbDrone.Core.Update.History; namespace NzbDrone.Core.Datastore.Migration { diff --git a/src/NzbDrone.Core/Datastore/Migration/134_add_specials_folder_format.cs b/src/NzbDrone.Core/Datastore/Migration/134_add_specials_folder_format.cs index 9bf15f00b..36d105344 100644 --- a/src/NzbDrone.Core/Datastore/Migration/134_add_specials_folder_format.cs +++ b/src/NzbDrone.Core/Datastore/Migration/134_add_specials_folder_format.cs @@ -1,4 +1,3 @@ -using System.Data; using FluentMigrator; using NzbDrone.Core.Datastore.Migration.Framework; diff --git a/src/NzbDrone.Core/Datastore/Migration/171_add_custom_formats.cs b/src/NzbDrone.Core/Datastore/Migration/171_add_custom_formats.cs index 3a4454385..869abbdcf 100644 --- a/src/NzbDrone.Core/Datastore/Migration/171_add_custom_formats.cs +++ b/src/NzbDrone.Core/Datastore/Migration/171_add_custom_formats.cs @@ -5,11 +5,9 @@ using System.Linq; using System.Text.RegularExpressions; using Dapper; using FluentMigrator; -using Newtonsoft.Json; using NzbDrone.Common.Extensions; using NzbDrone.Common.Serializer; using NzbDrone.Core.Datastore.Migration.Framework; -using NzbDrone.Core.Profiles.Qualities; namespace NzbDrone.Core.Datastore.Migration { diff --git a/src/NzbDrone.Core/Datastore/WhereBuilder.cs b/src/NzbDrone.Core/Datastore/WhereBuilder.cs index 0917e9d32..969364e4f 100644 --- a/src/NzbDrone.Core/Datastore/WhereBuilder.cs +++ b/src/NzbDrone.Core/Datastore/WhereBuilder.cs @@ -1,5 +1,4 @@ -using Dapper; -using NzbDrone.Common.Extensions; +using Dapper; namespace NzbDrone.Core.Datastore { diff --git a/src/NzbDrone.Test.Common/NzbDroneRunner.cs b/src/NzbDrone.Test.Common/NzbDroneRunner.cs index 708fa7983..25f977fce 100644 --- a/src/NzbDrone.Test.Common/NzbDroneRunner.cs +++ b/src/NzbDrone.Test.Common/NzbDroneRunner.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; using System.IO;