Changed database provider to Postgres since it handle UUID/GUID correctly
This commit is contained in:
@@ -21,8 +21,8 @@ public static class DependencyInjection
|
||||
{
|
||||
// Replace password in the connection string with env var in local environment.
|
||||
// Prod will use the connectionString stored in the vault with password in it directly.
|
||||
var connectionString = configuration.GetConnectionString("DefaultConnection")
|
||||
?? throw new InvalidOperationException("Missing ConnectionString: DefaultConnection");
|
||||
var connectionString = configuration.GetConnectionString("MssqlConnection")
|
||||
?? throw new InvalidOperationException("Missing ConnectionStrings:MssqlConnection");
|
||||
|
||||
services.AddScoped<ISaveChangesInterceptor, AuditableEntityInterceptor>();
|
||||
services.AddScoped<ISaveChangesInterceptor, DispatchDomainEventsInterceptor>();
|
||||
|
||||
Reference in New Issue
Block a user