cf439c5006
continuous-integration/drone/pr Build is passing
Resolved mediator source geenrator conflict with tests
14 lines
511 B
C#
14 lines
511 B
C#
namespace LiteCharms.Features.Postgres;
|
|
|
|
public sealed class DataProtectionDbContext(DbContextOptions<DataProtectionDbContext> options) : DbContext(options), IDataProtectionKeyContext
|
|
{
|
|
public DbSet<DataProtectionKey> DataProtectionKeys { get; set; }
|
|
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
base.OnModelCreating(modelBuilder);
|
|
|
|
modelBuilder.Entity<DataProtectionKey>(entity => entity.ToTable(nameof(DataProtectionKeys), schema: "security"));
|
|
}
|
|
}
|