Исправление бд
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 50s
Create and publish a Docker image / Deploy image (push) Successful in 34s

This commit is contained in:
Sergey Karmanov 2023-12-23 02:25:04 +03:00
parent b66e0edda7
commit cda564870b
Signed by: serega404
GPG Key ID: B6AD49C8C835460C

View File

@ -26,7 +26,7 @@ var configuration = builder.Configuration;
// Add services to the container.
builder.Services.AddDbContext<ApplicationContext>(options =>
options.UseNpgsql(builder.Configuration.GetConnectionString("DefaultConnection")));
options.UseNpgsql(builder.Configuration["CONNECTION_STRING"]));
builder.Services.AddIdentity<User, IdentityRole>()
.AddEntityFrameworkStores<ApplicationContext>();