aboutsummaryrefslogtreecommitdiff
path: root/src/Costasdev.Busurbano.ServiceViewer/AppDbContextDesignTimeFactory.cs
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-12 08:56:32 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-12 10:24:53 +0100
commitd65ce8288bbda3cb6e0b37613c29d7bf52703ba7 (patch)
treef6aaf58bbebeaa9b147e895ff8a5388881fa51d8 /src/Costasdev.Busurbano.ServiceViewer/AppDbContextDesignTimeFactory.cs
parent661cccc2da9a6c32b7b56c60313787282a9084ea (diff)
Some rework on the ServiceViewer (which will be repurposed for live multi-GTFS serving)
Diffstat (limited to 'src/Costasdev.Busurbano.ServiceViewer/AppDbContextDesignTimeFactory.cs')
-rw-r--r--src/Costasdev.Busurbano.ServiceViewer/AppDbContextDesignTimeFactory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Costasdev.Busurbano.ServiceViewer/AppDbContextDesignTimeFactory.cs b/src/Costasdev.Busurbano.ServiceViewer/AppDbContextDesignTimeFactory.cs
index 4caaabc..919c131 100644
--- a/src/Costasdev.Busurbano.ServiceViewer/AppDbContextDesignTimeFactory.cs
+++ b/src/Costasdev.Busurbano.ServiceViewer/AppDbContextDesignTimeFactory.cs
@@ -31,9 +31,9 @@ public class AppDbContextDesignTimeFactory : IDesignTimeDbContextFactory<AppDbCo
});
builder.UseLoggerFactory(loggerFactory);
- builder.UseMySQL(
+ builder.UseNpgsql(
connectionString,
- options => options.MigrationsAssembly(typeof(AppDbContext).Assembly.FullName)
+ options => options.UseNetTopologySuite()
);
return new AppDbContext(builder.Options);