From bbca9d1ede9a11afe723f9f26d7d4fa066934f6c Mon Sep 17 00:00:00 2001 From: ta264 Date: Sat, 5 Oct 2019 19:34:34 +0100 Subject: [PATCH] Fixed: Consistent migration numbering --- src/NzbDrone.Core/Datastore/Migration/021_add_custom_filters.cs | 2 +- .../Datastore/Migration/023_add_release_groups_etc.cs | 2 +- src/NzbDrone.Core/Datastore/Migration/024_clear_media_info.cs | 2 +- .../Datastore/Migration/025_rename_release_profiles.cs | 2 +- .../026_rename_quality_profiles_add_upgrade_allowed.cs | 2 +- .../Datastore/Migration/027_add_import_exclusions.cs | 2 +- .../Datastore/Migration/028_clean_artistmetadata_table.cs | 2 +- .../Datastore/Migration/033_download_propers_config.cs | 2 +- .../Datastore/Migration/036_add_download_client_priority.cs | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/NzbDrone.Core/Datastore/Migration/021_add_custom_filters.cs b/src/NzbDrone.Core/Datastore/Migration/021_add_custom_filters.cs index 15b9004eb..ba77f4774 100644 --- a/src/NzbDrone.Core/Datastore/Migration/021_add_custom_filters.cs +++ b/src/NzbDrone.Core/Datastore/Migration/021_add_custom_filters.cs @@ -3,7 +3,7 @@ using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration { - [Migration(021)] + [Migration(21)] public class add_custom_filters : NzbDroneMigrationBase { protected override void MainDbUpgrade() diff --git a/src/NzbDrone.Core/Datastore/Migration/023_add_release_groups_etc.cs b/src/NzbDrone.Core/Datastore/Migration/023_add_release_groups_etc.cs index 6455dfe65..8995d07b6 100644 --- a/src/NzbDrone.Core/Datastore/Migration/023_add_release_groups_etc.cs +++ b/src/NzbDrone.Core/Datastore/Migration/023_add_release_groups_etc.cs @@ -10,7 +10,7 @@ using NzbDrone.Common.Extensions; namespace NzbDrone.Core.Datastore.Migration { - [Migration(023)] + [Migration(23)] public class add_release_groups_etc : NzbDroneMigrationBase { protected override void MainDbUpgrade() diff --git a/src/NzbDrone.Core/Datastore/Migration/024_clear_media_info.cs b/src/NzbDrone.Core/Datastore/Migration/024_clear_media_info.cs index 4004f4efb..677a1f23c 100644 --- a/src/NzbDrone.Core/Datastore/Migration/024_clear_media_info.cs +++ b/src/NzbDrone.Core/Datastore/Migration/024_clear_media_info.cs @@ -3,7 +3,7 @@ using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration { - [Migration(024)] + [Migration(24)] public class NewMediaInfoFormat : NzbDroneMigrationBase { protected override void MainDbUpgrade() diff --git a/src/NzbDrone.Core/Datastore/Migration/025_rename_release_profiles.cs b/src/NzbDrone.Core/Datastore/Migration/025_rename_release_profiles.cs index 0ae44ae45..b4f544c56 100644 --- a/src/NzbDrone.Core/Datastore/Migration/025_rename_release_profiles.cs +++ b/src/NzbDrone.Core/Datastore/Migration/025_rename_release_profiles.cs @@ -3,7 +3,7 @@ using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration { - [Migration(025)] + [Migration(25)] public class rename_restrictions_to_release_profiles : NzbDroneMigrationBase { protected override void MainDbUpgrade() diff --git a/src/NzbDrone.Core/Datastore/Migration/026_rename_quality_profiles_add_upgrade_allowed.cs b/src/NzbDrone.Core/Datastore/Migration/026_rename_quality_profiles_add_upgrade_allowed.cs index 36aa6fbc5..7263f9217 100644 --- a/src/NzbDrone.Core/Datastore/Migration/026_rename_quality_profiles_add_upgrade_allowed.cs +++ b/src/NzbDrone.Core/Datastore/Migration/026_rename_quality_profiles_add_upgrade_allowed.cs @@ -3,7 +3,7 @@ using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration { - [Migration(026)] + [Migration(26)] public class rename_quality_profiles_add_upgrade_allowed : NzbDroneMigrationBase { protected override void MainDbUpgrade() diff --git a/src/NzbDrone.Core/Datastore/Migration/027_add_import_exclusions.cs b/src/NzbDrone.Core/Datastore/Migration/027_add_import_exclusions.cs index 7832ea365..1adc0504b 100644 --- a/src/NzbDrone.Core/Datastore/Migration/027_add_import_exclusions.cs +++ b/src/NzbDrone.Core/Datastore/Migration/027_add_import_exclusions.cs @@ -3,7 +3,7 @@ using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration { - [Migration(027)] + [Migration(27)] public class add_import_exclusions : NzbDroneMigrationBase { protected override void MainDbUpgrade() diff --git a/src/NzbDrone.Core/Datastore/Migration/028_clean_artistmetadata_table.cs b/src/NzbDrone.Core/Datastore/Migration/028_clean_artistmetadata_table.cs index 51e835358..d5e491517 100644 --- a/src/NzbDrone.Core/Datastore/Migration/028_clean_artistmetadata_table.cs +++ b/src/NzbDrone.Core/Datastore/Migration/028_clean_artistmetadata_table.cs @@ -3,7 +3,7 @@ using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration { - [Migration(028)] + [Migration(28)] public class clean_artist_metadata_table : NzbDroneMigrationBase { protected override void MainDbUpgrade() diff --git a/src/NzbDrone.Core/Datastore/Migration/033_download_propers_config.cs b/src/NzbDrone.Core/Datastore/Migration/033_download_propers_config.cs index a6acd76f1..d47a4b4d1 100644 --- a/src/NzbDrone.Core/Datastore/Migration/033_download_propers_config.cs +++ b/src/NzbDrone.Core/Datastore/Migration/033_download_propers_config.cs @@ -4,7 +4,7 @@ using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration { - [Migration(033)] + [Migration(33)] public class download_propers_config : NzbDroneMigrationBase { protected override void MainDbUpgrade() diff --git a/src/NzbDrone.Core/Datastore/Migration/036_add_download_client_priority.cs b/src/NzbDrone.Core/Datastore/Migration/036_add_download_client_priority.cs index d11dc88ff..be0508c3d 100644 --- a/src/NzbDrone.Core/Datastore/Migration/036_add_download_client_priority.cs +++ b/src/NzbDrone.Core/Datastore/Migration/036_add_download_client_priority.cs @@ -5,7 +5,7 @@ using NzbDrone.Core.Datastore.Migration.Framework; namespace NzbDrone.Core.Datastore.Migration { - [Migration(036)] + [Migration(36)] public class add_download_client_priority : NzbDroneMigrationBase { // Need snapshot in time without having to instantiate.