Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion IntelliTect.Trivia.Data/AppDbContext.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
using IntelliTect.Coalesce.AuditLogging;
using IntelliTect.Trivia.Data.Models;
using IntelliTect.Trivia.Data.Services;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;

namespace IntelliTect.Trivia.Data;

[Coalesce]
public class AppDbContext : DbContext, IAuditLogDbContext<AuditLog>
public class AppDbContext : IdentityDbContext<AppUser>, IAuditLogDbContext<AuditLog>
{
// Audit Log Models
public DbSet<AuditLog> AuditLogs { get; set; }
Expand Down
1 change: 1 addition & 0 deletions IntelliTect.Trivia.Data/IntelliTect.Trivia.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.5" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.5">
<PrivateAssets>all</PrivateAssets>
Expand Down
Loading