diff --git a/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/EntityConfiguration.cs b/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/EntityConfiguration.cs index 0dcc4dcb..d0ae80ab 100644 --- a/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/EntityConfiguration.cs +++ b/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/EntityConfiguration.cs @@ -30,18 +30,22 @@ public static class EntityConfiguration builder.Entity().Ignore(u => u.IsReset); builder.Entity().Property(s => s.Id).HasConversion(converter).ValueGeneratedOnAdd(); - builder.Entity().Property(s => s.Id).HasConversion(converter).ValueGeneratedOnAdd(); - builder.Entity().ToTable("Roles"); builder.Entity().Property(s => s.Id).HasConversion(converter).ValueGeneratedOnAdd(); builder.Entity().ToTable("Navigations"); - builder.Entity().Property(s => s.Id).HasConversion(converter).ValueGeneratedOnAdd(); + builder.Entity().Property(s => s.Id).HasConversion(converter!).ValueGeneratedOnAdd(); builder.Entity().Ignore(s => s.HasChildren); + builder.Entity().ToTable("Dicts"); builder.Entity().Property(s => s.Id).HasConversion(converter).ValueGeneratedOnAdd(); + builder.Entity().ToTable("Groups"); builder.Entity().Property(s => s.Id).HasConversion(converter).ValueGeneratedOnAdd(); + + builder.Entity().ToTable("Exceptions"); + builder.Entity().ToTable("LoginLogs"); + builder.Entity().ToTable("Traces"); } }