Upgraded packages. Improved startup. Removed unused components
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Moonlight.ApiServer.Configuration;
|
||||
using Moonlight.ApiServer.Database.Entities;
|
||||
using Moonlight.ApiServer.Helpers;
|
||||
|
||||
@@ -7,7 +8,11 @@ namespace Moonlight.ApiServer.Database;
|
||||
public class CoreDataContext : DatabaseContext
|
||||
{
|
||||
public override string Prefix { get; } = "Core";
|
||||
|
||||
|
||||
public DbSet<User> Users { get; set; }
|
||||
public DbSet<ApiKey> ApiKeys { get; set; }
|
||||
|
||||
public CoreDataContext(AppConfiguration configuration) : base(configuration)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user