This commit is contained in:
Paul Schneider 2021-05-09 13:45:55 +01:00
commit 6a59f776d5
223 changed files with 75 additions and 8 deletions

View file

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using nuget_host.Models;
using nuget_host.Models.ApiKeys;
namespace nuget_host.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
public DbSet<ApiKey> ApiKeys { get; set; }
}
}