using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using RT.Domain.Entities; using RT.Infrastructure.Identity; namespace RT.Infrastructure.Data; public class AppDbContext(DbContextOptions options) : IdentityDbContext(options) { public DbSet RefreshTokens => Set(); protected override void OnModelCreating(ModelBuilder modelBuilder) { base.OnModelCreating(modelBuilder); modelBuilder.ApplyConfigurationsFromAssembly(typeof(AppDbContext).Assembly); } }