Use different folder to store sqlite database. Fixes #10.

This commit is contained in:
Leonardo Galli 2016-12-30 11:25:25 +01:00
parent 2efda4933d
commit c874122fc0
2 changed files with 2 additions and 5 deletions

View File

@ -34,7 +34,7 @@ namespace NzbDrone.Common.EnvironmentInfo
} }
else else
{ {
AppDataFolder = Path.Combine(Environment.GetFolderPath(DATA_SPECIAL_FOLDER, Environment.SpecialFolderOption.None), "NzbDrone"); AppDataFolder = Path.Combine(Environment.GetFolderPath(DATA_SPECIAL_FOLDER, Environment.SpecialFolderOption.None), "Radarr");
} }
StartUpFolder = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName; StartUpFolder = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName;

View File

@ -52,13 +52,10 @@ namespace NzbDrone.Core.Datastore.Migration
.WithColumn("Images").AsString() .WithColumn("Images").AsString()
.WithColumn("Path").AsString() .WithColumn("Path").AsString()
.WithColumn("Monitored").AsBoolean() .WithColumn("Monitored").AsBoolean()
.WithColumn("QualityProfileId").AsInt32() .WithColumn("ProfileId").AsInt32()
.WithColumn("SeasonFolder").AsBoolean()
.WithColumn("LastInfoSync").AsDateTime().Nullable() .WithColumn("LastInfoSync").AsDateTime().Nullable()
.WithColumn("LastDiskSync").AsDateTime().Nullable() .WithColumn("LastDiskSync").AsDateTime().Nullable()
.WithColumn("Runtime").AsInt32() .WithColumn("Runtime").AsInt32()
.WithColumn("BacklogSetting").AsInt32()
.WithColumn("CustomStartDate").AsDateTime().Nullable()
.WithColumn("InCinemas").AsDateTime().Nullable() .WithColumn("InCinemas").AsDateTime().Nullable()
.WithColumn("Year").AsInt32().Nullable() .WithColumn("Year").AsInt32().Nullable()
.WithColumn("Added").AsDateTime().Nullable() .WithColumn("Added").AsDateTime().Nullable()