21 lines
544 B
C#
21 lines
544 B
C#
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; }
|
|
}
|
|
}
|