using Femto.Common.Infrastructure.Outbox; using Microsoft.EntityFrameworkCore; namespace Femto.Modules.Authentication.Data; internal class AuthenticationContext : DbContext, IOutboxContext { public virtual DbSet Outbox { get; } protected override void OnModelCreating(ModelBuilder builder) { base.OnModelCreating(builder); builder.HasDefaultSchema("authn"); builder.ApplyConfigurationsFromAssembly(typeof(AuthenticationContext).Assembly); } }