mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Still a lot of work to do on the frontend for this.
This commit is contained in:
parent
8cf5a4c1fd
commit
b04344dd17
25 changed files with 952 additions and 476 deletions
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Ombi.Helpers;
|
||||
using Ombi.Store.Entities;
|
||||
|
@ -7,7 +8,7 @@ using Ombi.Store.Entities.Requests;
|
|||
|
||||
namespace Ombi.Store.Context
|
||||
{
|
||||
public sealed class OmbiContext : DbContext, IOmbiContext
|
||||
public sealed class OmbiContext : IdentityDbContext<OmbiUser>, IOmbiContext
|
||||
{
|
||||
private static bool _created;
|
||||
public OmbiContext()
|
||||
|
@ -19,10 +20,12 @@ namespace Ombi.Store.Context
|
|||
|
||||
// Add the notifcation templates
|
||||
AddAllTemplates();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public DbSet<GlobalSettings> Settings { get; set; }
|
||||
public DbSet<User> Users { get; set; }
|
||||
public DbSet<User> OldUsers { get; set; }
|
||||
public DbSet<PlexContent> PlexContent { get; set; }
|
||||
public DbSet<RadarrCache> RadarrCache { get; set; }
|
||||
public DbSet<NotificationTemplates> NotificationTemplates { get; set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue