diff --git a/src/providers/Elsa.Persistence.EntityFrameworkCore/DbContexts/ElsaContext.cs b/src/providers/Elsa.Persistence.EntityFrameworkCore/DbContexts/ElsaContext.cs index 3671a58c3..4e7b7f4d5 100644 --- a/src/providers/Elsa.Persistence.EntityFrameworkCore/DbContexts/ElsaContext.cs +++ b/src/providers/Elsa.Persistence.EntityFrameworkCore/DbContexts/ElsaContext.cs @@ -35,7 +35,7 @@ namespace Elsa.Persistence.EntityFrameworkCore.DbContexts /// The CustomSchemaModelCacheKeyFactory will not resolve services from the DI container for constructor injection /// so this is necessary in order to set the custom schema for the Model Cache. /// - internal IDbContextCustomSchema DbContextCustomSchema { get; } + internal IDbContextCustomSchema? DbContextCustomSchema { get; } public DbSet WorkflowDefinitionVersions { get; set; } public DbSet WorkflowInstances { get; set; }