mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
auto increment ID.
model tables are automatically created.
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
using System.Diagnostics;
|
||||
using ServiceStack.DataAnnotations;
|
||||
|
||||
namespace NzbDrone.Core.Datastore
|
||||
{
|
||||
[DebuggerDisplay("{GetType()} ID = {Id}")]
|
||||
public abstract class ModelBase
|
||||
{
|
||||
[AutoIncrement]
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user