mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
This commit is contained in:
parent
e7aba8a4c8
commit
9d4881032d
3 changed files with 47 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue