Torma Kristóf
634488c2d8
All checks were successful
continuous-integration/drone/push Build is passing
21 lines
606 B
C#
21 lines
606 B
C#
using HanyadikHetVan.Data.Entities;
|
|
using Microsoft.AspNetCore.Identity;
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace HanyadikHetVan.Data
|
|
{
|
|
public class ApplicationDbContext : IdentityDbContext<User, IdentityRole, string>
|
|
{
|
|
public DbSet<Pause> Pauses { get; set; }
|
|
public DbSet<WeeklyTimeSpan> WeeklyTimeSpans { get; set; }
|
|
|
|
public DbSet<FunFact> FunFacts { get; set; }
|
|
|
|
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
|
: base(options)
|
|
{
|
|
}
|
|
}
|
|
}
|