Migrate DeepDrftContext from SQLite to PostgreSQL; add docker-compose for local Postgres 17

This commit is contained in:
Daniel Harvey
2026-05-17 23:11:44 -04:00
parent ed61764e10
commit a65339395b
14 changed files with 118 additions and 85 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ public static class Startup
{
// Add Entity Framework services
builder.Services.AddDbContext<DeepDrftContext>(options =>
options.UseSqlite(builder.Configuration.GetConnectionString("DefaultConnection")));
options.UseNpgsql(builder.Configuration.GetConnectionString("DefaultConnection")));
// Add Server Prerendering Theming Support
// DarkModeSettings is registered in DeepDrftWeb.Client.Startup.ConfigureDomainServices