using LCU.Api.Internal.MaidBotLib.Models; using Microsoft.EntityFrameworkCore; namespace LCU.Api.Internal.MaidBotLib.Persistence { public class AppDbContext : DbContext { public DbSet LoggingMatrixs { get; set; } public DbSet EventLogs { get; set; } public DbSet DebugEventLogs { get; set; } public AppDbContext(DbContextOptions options) : base(options) { } protected override void OnModelCreating(ModelBuilder builder) { base.OnModelCreating(builder); builder.Entity().ToTable("LoggingMatrix"); builder.Entity().ToTable("EventLog"); builder.Entity().ToTable("DebugEventLog"); } } }