mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
some db/migration cleanup
This commit is contained in:
parent
8424dd6ede
commit
15aedfc847
13 changed files with 76 additions and 130 deletions
24
NzbDrone.Core/Repository/JobDefinition.cs
Normal file
24
NzbDrone.Core/Repository/JobDefinition.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
using PetaPoco;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
{
|
||||
[TableName("JobDefinitions")]
|
||||
[PrimaryKey("Id", autoIncrement = true)]
|
||||
public class JobDefinition
|
||||
{
|
||||
public Int32 Id { get; set; }
|
||||
|
||||
public Boolean Enable { get; set; }
|
||||
|
||||
public String TypeName { get; set; }
|
||||
|
||||
public String Name { get; set; }
|
||||
|
||||
public Int32 Interval { get; set; }
|
||||
|
||||
public DateTime LastExecution { get; set; }
|
||||
|
||||
public Boolean Success { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue