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 824509238..0526a672a 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 ca1bbc5aa..2d577817c 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 7c6b07cbd..b2792fe56 100644 --- a/NzbDrone.Core/Datastore/Migration/001_InitialSetup.cs +++ b/NzbDrone.Core/Datastore/Migration/001_InitialSetup.cs @@ -3,7 +3,6 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 c6a179b32..587032c7a 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 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 56db4aabd..a19bae93c 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 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 45449881c..5ebc51ac8 100644 --- a/NzbDrone.Core/Datastore/Migration/004_updated_history.cs +++ b/NzbDrone.Core/Datastore/Migration/004_updated_history.cs @@ -3,7 +3,6 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 566acfff0..bead4c96f 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 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 89d3d39bc..add668fdc 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 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 5ed4b625a..3fc4abef9 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 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 e4d4199a6..6614e2c14 100644 --- a/NzbDrone.Core/Datastore/Migration/008_remove_backlog.cs +++ b/NzbDrone.Core/Datastore/Migration/008_remove_backlog.cs @@ -3,7 +3,6 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 7fcd13d66..d52799a03 100644 --- a/NzbDrone.Core/Datastore/Migration/009_fix_renameEpisodes.cs +++ b/NzbDrone.Core/Datastore/Migration/009_fix_renameEpisodes.cs @@ -3,7 +3,6 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 266649039..a64f44877 100644 --- a/NzbDrone.Core/Datastore/Migration/010_add_monitored.cs +++ b/NzbDrone.Core/Datastore/Migration/010_add_monitored.cs @@ -3,7 +3,6 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 765319f25..103f0648a 100644 --- a/NzbDrone.Core/Datastore/Migration/011_remove_ignored.cs +++ b/NzbDrone.Core/Datastore/Migration/011_remove_ignored.cs @@ -3,7 +3,6 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 9b8f0ef1e..417e73013 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 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 3a0a148c8..ece91b397 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 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 229bb11cd..434ccc8a2 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 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 39f26f89c..7638e6df5 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 @@ using NzbDrone.Core.Datastore.Migration.Framework; 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 10f11336b..6a12df8dc 100644 --- a/NzbDrone.Core/Datastore/Migration/Framework/MigrationOptions.cs +++ b/NzbDrone.Core/Datastore/Migration/Framework/MigrationOptions.cs @@ -6,5 +6,6 @@ namespace NzbDrone.Core.Datastore.Migration.Framework { 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 f5e69f6af..301ff1887 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 6ec33862e..b065f400a 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 fa18f2549..89df96ecf 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 c9b1de92f..4c317ad09 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 4b7086895..d990a6770 100644 --- a/NzbDrone/packages.config +++ b/NzbDrone/packages.config @@ -1,6 +1,6 @@  - +