Skip to content

Commit 8b7eeae

Browse files
committed
updated image configuration
1 parent 3d83b14 commit 8b7eeae

13 files changed

+12
-903
lines changed

src/Infrastructure/DependencyInjection.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,16 @@ private static IServiceCollection AddDatabase(this IServiceCollection services,
6767

6868
private static IServiceCollection AddHealthChecks(this IServiceCollection services, IConfiguration configuration)
6969
{
70-
/* services
70+
services
7171
.AddHealthChecks()
7272
.AddNpgSql(configuration.GetConnectionString("Database")!);
73-
*/
73+
74+
//FOR SQL
7475

75-
services
76+
/* services
7677
.AddHealthChecks()
7778
.AddSqlServer(configuration.GetConnectionString("Database")!);
78-
79+
*/
7980
return services;
8081
}
8182

src/Infrastructure/Infrastructure.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8+
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" />
89
<PackageReference Include="AspNetCore.HealthChecks.SqlServer" />
910
<PackageReference Include="EFCore.NamingConventions" />
1011
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
@@ -22,6 +23,7 @@
2223
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2324
</PackageReference>
2425
<PackageReference Include="Newtonsoft.Json" />
26+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" />
2527
</ItemGroup>
2628

2729
<ItemGroup>

src/Infrastructure/Migrations/20250512142811_InitialSchema.Designer.cs

Lines changed: 0 additions & 109 deletions
This file was deleted.

src/Infrastructure/Migrations/20250512142811_InitialSchema.cs

Lines changed: 0 additions & 82 deletions
This file was deleted.

src/Infrastructure/Migrations/20250521174623_FixUserImageConfig.Designer.cs

Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
 (0)