[CHANGE] History -> Audit
This commit is contained in:
@@ -14,7 +14,7 @@ public sealed class LibraryDbContext : DbContext
|
||||
Database.EnsureCreated();
|
||||
}
|
||||
|
||||
public DbSet<EntityHistory> Histories { get; set; }
|
||||
public DbSet<EntityAudit> Histories { get; set; }
|
||||
|
||||
public DbSet<CaptionEntity> Captions { get; set; }
|
||||
public DbSet<ChannelEntity> Channels { get; set; }
|
||||
@@ -32,9 +32,9 @@ public sealed class LibraryDbContext : DbContext
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.Entity<EntityHistory>(eh =>
|
||||
modelBuilder.Entity<EntityAudit>(eh =>
|
||||
{
|
||||
eh.ToTable("entity_history");
|
||||
eh.ToTable("audits");
|
||||
});
|
||||
|
||||
modelBuilder.Entity<CaptionEntity>(ce =>
|
||||
|
Reference in New Issue
Block a user