mirror of https://github.com/Radarr/Radarr
Use different folder to store sqlite database. Fixes #10.
This commit is contained in:
parent
2efda4933d
commit
c874122fc0
|
@ -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;
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue