From c80202bec303dab17782ba4486aadbbc0d612fdf Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Mon, 29 Jul 2013 17:57:02 -0700 Subject: [PATCH] updated FluentMigrator --- NzbDrone.Core.Test/NzbDrone.Core.Test.csproj | 9 +++++---- NzbDrone.Core.Test/packages.config | 2 +- NzbDrone.Core/Datastore/Migration/001_InitialSetup.cs | 1 - .../002_Remove_tvrage_imdb_unique_constraint.cs | 1 - .../003_remove_clean_title_from_scene_mapping.cs | 1 - NzbDrone.Core/Datastore/Migration/004_updated_history.cs | 1 - .../Migration/005_added_eventtype_to_history.cs | 1 - .../Datastore/Migration/006_add_index_to_log_time.cs | 1 - .../Migration/007_add_renameEpisodes_to_naming.cs | 1 - NzbDrone.Core/Datastore/Migration/008_remove_backlog.cs | 1 - .../Datastore/Migration/009_fix_renameEpisodes.cs | 1 - NzbDrone.Core/Datastore/Migration/010_add_monitored.cs | 1 - NzbDrone.Core/Datastore/Migration/011_remove_ignored.cs | 1 - .../Datastore/Migration/012_remove_custom_start_date.cs | 1 - .../Datastore/Migration/013_add_air_date_utc.cs | 1 - NzbDrone.Core/Datastore/Migration/014_drop_air_date.cs | 1 - .../Datastore/Migration/015_add_air_date_as_string.cs | 1 - .../Datastore/Migration/Framework/MigrationOptions.cs | 1 + NzbDrone.Core/NzbDrone.Core.csproj | 9 +++++---- NzbDrone.Core/packages.config | 2 +- NzbDrone/NzbDrone.csproj | 4 ++-- NzbDrone/app.config | 4 ++-- NzbDrone/packages.config | 2 +- 23 files changed, 18 insertions(+), 30 deletions(-) diff --git a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj index 8245092386..0526a672a7 100644 --- a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj +++ b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj @@ -47,12 +47,13 @@ False ..\packages\FluentAssertions.2.0.1\lib\net40\FluentAssertions.dll - + False - ..\packages\FluentMigrator.1.1.0.0\lib\40\FluentMigrator.dll + ..\packages\FluentMigrator.1.1.1.0\lib\40\FluentMigrator.dll - - ..\packages\FluentMigrator.1.1.0.0\tools\FluentMigrator.Runner.dll + + False + ..\packages\FluentMigrator.1.1.1.0\tools\FluentMigrator.Runner.dll diff --git a/NzbDrone.Core.Test/packages.config b/NzbDrone.Core.Test/packages.config index ca1bbc5aaf..2d577817ca 100644 --- a/NzbDrone.Core.Test/packages.config +++ b/NzbDrone.Core.Test/packages.config @@ -3,7 +3,7 @@ - + diff --git a/NzbDrone.Core/Datastore/Migration/001_InitialSetup.cs b/NzbDrone.Core/Datastore/Migration/001_InitialSetup.cs index 7c6b07cbd9..b2792fe565 100644 --- a/NzbDrone.Core/Datastore/Migration/001_InitialSetup.cs +++ b/NzbDrone.Core/Datastore/Migration/001_InitialSetup.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(1)] public class InitialSetup : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/002_Remove_tvrage_imdb_unique_constraint.cs b/NzbDrone.Core/Datastore/Migration/002_Remove_tvrage_imdb_unique_constraint.cs index c6a179b32b..587032c7ab 100644 --- a/NzbDrone.Core/Datastore/Migration/002_Remove_tvrage_imdb_unique_constraint.cs +++ b/NzbDrone.Core/Datastore/Migration/002_Remove_tvrage_imdb_unique_constraint.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(2)] public class remove_tvrage_imdb_unique_constraint : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/003_remove_clean_title_from_scene_mapping.cs b/NzbDrone.Core/Datastore/Migration/003_remove_clean_title_from_scene_mapping.cs index 56db4aabd8..a19bae93cb 100644 --- a/NzbDrone.Core/Datastore/Migration/003_remove_clean_title_from_scene_mapping.cs +++ b/NzbDrone.Core/Datastore/Migration/003_remove_clean_title_from_scene_mapping.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(3)] public class remove_renamed_scene_mapping_columns : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/004_updated_history.cs b/NzbDrone.Core/Datastore/Migration/004_updated_history.cs index 45449881c0..5ebc51ac89 100644 --- a/NzbDrone.Core/Datastore/Migration/004_updated_history.cs +++ b/NzbDrone.Core/Datastore/Migration/004_updated_history.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(4)] public class updated_history : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/005_added_eventtype_to_history.cs b/NzbDrone.Core/Datastore/Migration/005_added_eventtype_to_history.cs index 566acfff02..bead4c96f6 100644 --- a/NzbDrone.Core/Datastore/Migration/005_added_eventtype_to_history.cs +++ b/NzbDrone.Core/Datastore/Migration/005_added_eventtype_to_history.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(5)] public class added_eventtype_to_history : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/006_add_index_to_log_time.cs b/NzbDrone.Core/Datastore/Migration/006_add_index_to_log_time.cs index 89d3d39bcd..add668fdc5 100644 --- a/NzbDrone.Core/Datastore/Migration/006_add_index_to_log_time.cs +++ b/NzbDrone.Core/Datastore/Migration/006_add_index_to_log_time.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(6)] public class add_index_to_log_time : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/007_add_renameEpisodes_to_naming.cs b/NzbDrone.Core/Datastore/Migration/007_add_renameEpisodes_to_naming.cs index 5ed4b625a1..3fc4abef9a 100644 --- a/NzbDrone.Core/Datastore/Migration/007_add_renameEpisodes_to_naming.cs +++ b/NzbDrone.Core/Datastore/Migration/007_add_renameEpisodes_to_naming.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(7)] public class add_renameEpisodes_to_naming : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/008_remove_backlog.cs b/NzbDrone.Core/Datastore/Migration/008_remove_backlog.cs index e4d4199a6e..6614e2c14d 100644 --- a/NzbDrone.Core/Datastore/Migration/008_remove_backlog.cs +++ b/NzbDrone.Core/Datastore/Migration/008_remove_backlog.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(8)] public class remove_backlog : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/009_fix_renameEpisodes.cs b/NzbDrone.Core/Datastore/Migration/009_fix_renameEpisodes.cs index 7fcd13d667..d52799a032 100644 --- a/NzbDrone.Core/Datastore/Migration/009_fix_renameEpisodes.cs +++ b/NzbDrone.Core/Datastore/Migration/009_fix_renameEpisodes.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(9)] public class fix_rename_episodes : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/010_add_monitored.cs b/NzbDrone.Core/Datastore/Migration/010_add_monitored.cs index 2666490392..a64f44877e 100644 --- a/NzbDrone.Core/Datastore/Migration/010_add_monitored.cs +++ b/NzbDrone.Core/Datastore/Migration/010_add_monitored.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(10)] public class add_monitored : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/011_remove_ignored.cs b/NzbDrone.Core/Datastore/Migration/011_remove_ignored.cs index 765319f254..103f0648ac 100644 --- a/NzbDrone.Core/Datastore/Migration/011_remove_ignored.cs +++ b/NzbDrone.Core/Datastore/Migration/011_remove_ignored.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(11)] public class remove_ignored : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/012_remove_custom_start_date.cs b/NzbDrone.Core/Datastore/Migration/012_remove_custom_start_date.cs index 9b8f0ef1e8..417e73013b 100644 --- a/NzbDrone.Core/Datastore/Migration/012_remove_custom_start_date.cs +++ b/NzbDrone.Core/Datastore/Migration/012_remove_custom_start_date.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(12)] public class remove_custom_start_date : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/013_add_air_date_utc.cs b/NzbDrone.Core/Datastore/Migration/013_add_air_date_utc.cs index 3a0a148c82..ece91b3979 100644 --- a/NzbDrone.Core/Datastore/Migration/013_add_air_date_utc.cs +++ b/NzbDrone.Core/Datastore/Migration/013_add_air_date_utc.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(13)] public class add_air_date_utc : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/014_drop_air_date.cs b/NzbDrone.Core/Datastore/Migration/014_drop_air_date.cs index 229bb11cda..434ccc8a21 100644 --- a/NzbDrone.Core/Datastore/Migration/014_drop_air_date.cs +++ b/NzbDrone.Core/Datastore/Migration/014_drop_air_date.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(14)] public class drop_air_date : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/015_add_air_date_as_string.cs b/NzbDrone.Core/Datastore/Migration/015_add_air_date_as_string.cs index 39f26f89c0..7638e6df5a 100644 --- a/NzbDrone.Core/Datastore/Migration/015_add_air_date_as_string.cs +++ b/NzbDrone.Core/Datastore/Migration/015_add_air_date_as_string.cs @@ -3,7 +3,6 @@ namespace NzbDrone.Core.Datastore.Migration { - [Tags("")] [Migration(15)] public class add_air_date_as_string : NzbDroneMigrationBase { diff --git a/NzbDrone.Core/Datastore/Migration/Framework/MigrationOptions.cs b/NzbDrone.Core/Datastore/Migration/Framework/MigrationOptions.cs index 10f11336b2..6a12df8dc0 100644 --- a/NzbDrone.Core/Datastore/Migration/Framework/MigrationOptions.cs +++ b/NzbDrone.Core/Datastore/Migration/Framework/MigrationOptions.cs @@ -6,5 +6,6 @@ public class MigrationOptions : IMigrationProcessorOptions { public bool PreviewOnly { get; set; } public int Timeout { get; set; } + public string ProviderSwitches { get; private set; } } } \ No newline at end of file diff --git a/NzbDrone.Core/NzbDrone.Core.csproj b/NzbDrone.Core/NzbDrone.Core.csproj index f5e69f6af9..301ff1887d 100644 --- a/NzbDrone.Core/NzbDrone.Core.csproj +++ b/NzbDrone.Core/NzbDrone.Core.csproj @@ -59,12 +59,13 @@ - + False - ..\packages\FluentMigrator.1.1.0.0\lib\40\FluentMigrator.dll + ..\packages\FluentMigrator.1.1.1.0\lib\40\FluentMigrator.dll - - ..\packages\FluentMigrator.1.1.0.0\tools\FluentMigrator.Runner.dll + + False + ..\packages\FluentMigrator.1.1.1.0\tools\FluentMigrator.Runner.dll ..\packages\Growl.0.6\lib\Growl.Connector.dll diff --git a/NzbDrone.Core/packages.config b/NzbDrone.Core/packages.config index 6ec33862e3..b065f400ae 100644 --- a/NzbDrone.Core/packages.config +++ b/NzbDrone.Core/packages.config @@ -1,6 +1,6 @@  - + diff --git a/NzbDrone/NzbDrone.csproj b/NzbDrone/NzbDrone.csproj index fa18f25496..89df96ecf7 100644 --- a/NzbDrone/NzbDrone.csproj +++ b/NzbDrone/NzbDrone.csproj @@ -63,9 +63,9 @@ OnOutputUpdated - + False - ..\packages\FluentMigrator.1.1.0.0\lib\40\FluentMigrator.dll + ..\packages\FluentMigrator.1.1.1.0\lib\40\FluentMigrator.dll ..\packages\FluentMigrator.1.1.0.0\tools\FluentMigrator.Runner.dll diff --git a/NzbDrone/app.config b/NzbDrone/app.config index c9b1de92f5..4c317ad09b 100644 --- a/NzbDrone/app.config +++ b/NzbDrone/app.config @@ -9,7 +9,7 @@ - + @@ -26,7 +26,7 @@ - + diff --git a/NzbDrone/packages.config b/NzbDrone/packages.config index 4b70868951..d990a67708 100644 --- a/NzbDrone/packages.config +++ b/NzbDrone/packages.config @@ -1,6 +1,6 @@  - +