This commit is contained in:
john 2025-05-14 23:53:00 +02:00
parent baea64229b
commit 0dc41337da
36 changed files with 324 additions and 95 deletions

View file

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