Migrations

Still need to remove System.Data.Sqlite, prefer an option in OrmLite to pluralize table names.
This commit is contained in:
markus101
2013-03-24 21:36:24 -07:00
committed by kay.one
parent b9fac94eca
commit 4bb4faf626
29 changed files with 375 additions and 50 deletions
+1 -1
View File
@@ -123,7 +123,7 @@
<Compile Include="Contract\ReportBase.cs" />
<Compile Include="Contract\ParseErrorReport.cs" />
<Compile Include="Model\AuthenticationType.cs" />
<Compile Include="PathExtentions.cs" />
<Compile Include="PathExtensions.cs" />
<Compile Include="DiskProvider.cs" />
<Compile Include="EnvironmentProvider.cs" />
<Compile Include="Model\ProcessInfo.cs" />
@@ -3,7 +3,7 @@ using System.IO;
namespace NzbDrone.Common
{
public static class PathExtentions
public static class PathExtensions
{
private const string WEB_FOLDER = "NzbDrone.Web\\";
private const string APP_DATA = "App_Data\\";
@@ -135,5 +135,10 @@ namespace NzbDrone.Common
{
return Path.Combine(environmentProvider.ApplicationPath, NZBDRONE_EXE);
}
public static string GetNzbDroneDatabase(this EnvironmentProvider environmentProvider)
{
return Path.Combine(environmentProvider.GetAppDataPath(), NZBDRONE_DB);
}
}
}