This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
using HanyadikHetVan.Data.Entities;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace HanyadikHetVan.Data
|
||||
{
|
||||
public class ApplicationDbContext : IdentityDbContext
|
||||
public class ApplicationDbContext : IdentityDbContext<User, IdentityRole, string>
|
||||
{
|
||||
public DbSet<Pause> Pauses { get; set; }
|
||||
public DbSet<WeeklyTimeSpan> WeeklyTimeSpans { get; set; }
|
||||
|
||||
public DbSet<Purse> Purses { get; set; }
|
||||
public DbSet<FunFact> FunFacts { get; set; }
|
||||
|
||||
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
||||
: base(options)
|
||||
|
||||
Reference in New Issue
Block a user