style: complete Light Sepia theme overrides for user dashboard #78

Merged
mjasin merged 11 commits from feature/theme-sync-engine into develop 2026-06-07 16:56:37 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit dab698ee72 - Show all commits
@@ -37,7 +37,7 @@ public class AppDbContextFactory : IDesignTimeDbContextFactory<AppDbContext>
connectionString = "Host=localhost;Database=nexus_reader;Username=postgres;Password=postgres"; connectionString = "Host=localhost;Database=nexus_reader;Username=postgres;Password=postgres";
} }
optionsBuilder.UseNpgsql(connectionString, o => o.UseVector()); optionsBuilder.UseNpgsql(connectionString);
return new AppDbContext(optionsBuilder.Options); return new AppDbContext(optionsBuilder.Options);
} }
@@ -35,12 +35,12 @@ public static class DependencyInjection
if (!string.IsNullOrEmpty(pgConnectionString)) if (!string.IsNullOrEmpty(pgConnectionString))
{ {
services.AddDbContextFactory<AppDbContext>(options => services.AddDbContextFactory<AppDbContext>(options =>
options.UseNpgsql(pgConnectionString, o => o.UseVector()), options.UseNpgsql(pgConnectionString),
ServiceLifetime.Scoped); ServiceLifetime.Scoped);
// Also register a scoped DbContext for repositories that need it // Also register a scoped DbContext for repositories that need it
services.AddDbContext<AppDbContext>(options => services.AddDbContext<AppDbContext>(options =>
options.UseNpgsql(pgConnectionString, o => o.UseVector())); options.UseNpgsql(pgConnectionString));
} }
else else
{ {