This commit is contained in:
tidusjar 2016-06-03 14:51:46 +01:00
commit 9d4881032d
3 changed files with 47 additions and 11 deletions

View file

@ -42,6 +42,7 @@ namespace PlexRequests.Core.Models
public List<IssueModel> Issues { get; set; }
public bool Deleted { get; set; }
public RequestType Type { get; set; }
public IssueStatus IssueStatus { get; set; }
}
public class IssueModel
@ -50,7 +51,6 @@ namespace PlexRequests.Core.Models
public string UserReported { get; set; }
public IssueState Issue { get; set; }
public string AdminNote { get; set; }
public IssueStatus IssueStatus { get; set; }
}
public enum IssueStatus

View file

@ -57,13 +57,13 @@ namespace PlexRequests.Core
var version = CheckSchema();
if (version > 0)
{
if (version > 1700 && version <= 1799)
if (version > 1700 && version <= 1759)
{
MigrateToVersion1700();
}
if (version > 1800 && version <= 1899)
if (version > 1759 && version <= 1799)
{
MigrateToVersion1800();
MigrateToVersion1760();
}
}
@ -183,7 +183,7 @@ namespace PlexRequests.Core
/// <para>This includes updating the admin account to have all roles.</para>
/// <para>Set the log level to info</para>
/// </summary>
private void MigrateToVersion1800()
private void MigrateToVersion1760()
{
try
{