refactor TenantDBContext to accomodate AspNetUserPasskeys
This commit is contained in:
@@ -395,7 +395,7 @@ namespace Oqtane.Infrastructure
|
||||
var connectionString = _configManager.GetSetting($"{SettingKeys.ConnectionStringsSection}:{tenant.DBConnectionString}", "");
|
||||
if (!string.IsNullOrEmpty(connectionString))
|
||||
{
|
||||
using (var tenantDbContext = new TenantDBContext(DBContextDependencies))
|
||||
using (var tenantDbContext = new TenantDBContext(new DbContextOptions<TenantDBContext>(), DBContextDependencies))
|
||||
{
|
||||
AddEFMigrationsHistory(sql, connectionString, tenant.DBType, tenant.Version, false);
|
||||
// push latest model into database
|
||||
|
||||
Reference in New Issue
Block a user