From 90a5ab821e247227787c2f7479de665f19f21c03 Mon Sep 17 00:00:00 2001 From: Kevin Hahn Date: Tue, 9 Jul 2024 14:44:28 +0700 Subject: [PATCH] pass db context options from ioc into constructor --- backend/LcmCrdt/LcmCrdtDbContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/LcmCrdt/LcmCrdtDbContext.cs b/backend/LcmCrdt/LcmCrdtDbContext.cs index 5a26ca940..638cfba8a 100644 --- a/backend/LcmCrdt/LcmCrdtDbContext.cs +++ b/backend/LcmCrdt/LcmCrdtDbContext.cs @@ -7,7 +7,7 @@ namespace LcmCrdt; -public class LcmCrdtDbContext(IOptions options): DbContext, ICrdtDbContext +public class LcmCrdtDbContext(DbContextOptions dbContextOptions, IOptions options): DbContext(dbContextOptions), ICrdtDbContext { public DbSet ProjectData => Set();