Обновил подключение к бд
All checks were successful
Lint / Run linters (push) Successful in 37s
Build and deploy / Publish image (push) Successful in 1m53s
Build and deploy / Deploy image (push) Successful in 11s

This commit is contained in:
2024-06-21 13:10:38 +03:00
parent 46295b1884
commit 67e5d51014
9 changed files with 104 additions and 97 deletions

View File

@@ -23,7 +23,7 @@ namespace HackathonPreparing.ApiService.Migrations
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("HackathonPreparing.ApiService.AuthFeature.User", b =>
modelBuilder.Entity("HackathonPreparing.ApiService.Features.AuthFeature.User", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
@@ -93,7 +93,7 @@ namespace HackathonPreparing.ApiService.Migrations
b.ToTable("AspNetUsers", "user");
});
modelBuilder.Entity("HackathonPreparing.ApiService.WeatherForecastFeature.WeatherForecast", b =>
modelBuilder.Entity("HackathonPreparing.ApiService.Features.WeatherForecastFeature.WeatherForecast", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
@@ -119,37 +119,37 @@ namespace HackathonPreparing.ApiService.Migrations
new
{
Id = 1,
Date = new DateOnly(2024, 6, 20),
Summary = "Chilly",
TemperatureC = -12
Date = new DateOnly(2024, 6, 22),
Summary = "Sweltering",
TemperatureC = -3
},
new
{
Id = 2,
Date = new DateOnly(2024, 6, 21),
Summary = "Chilly",
TemperatureC = 41
Date = new DateOnly(2024, 6, 23),
Summary = "Freezing",
TemperatureC = 46
},
new
{
Id = 3,
Date = new DateOnly(2024, 6, 22),
Summary = "Freezing",
TemperatureC = 5
Date = new DateOnly(2024, 6, 24),
Summary = "Bracing",
TemperatureC = 21
},
new
{
Id = 4,
Date = new DateOnly(2024, 6, 23),
Summary = "Sweltering",
TemperatureC = 40
Date = new DateOnly(2024, 6, 25),
Summary = "Bracing",
TemperatureC = -14
},
new
{
Id = 5,
Date = new DateOnly(2024, 6, 24),
Summary = "Scorching",
TemperatureC = 40
Date = new DateOnly(2024, 6, 26),
Summary = "Hot",
TemperatureC = -15
});
});
@@ -185,7 +185,7 @@ namespace HackathonPreparing.ApiService.Migrations
new
{
Id = 1,
ConcurrencyStamp = "8ded6932-88b3-4542-a741-ecd3734c0857",
ConcurrencyStamp = "b6604d84-0a9e-4d18-8273-9b109e229f38",
Name = "moderator",
NormalizedName = "MODERATOR"
});
@@ -305,7 +305,7 @@ namespace HackathonPreparing.ApiService.Migrations
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<int>", b =>
{
b.HasOne("HackathonPreparing.ApiService.AuthFeature.User", null)
b.HasOne("HackathonPreparing.ApiService.Features.AuthFeature.User", null)
.WithMany()
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
@@ -314,7 +314,7 @@ namespace HackathonPreparing.ApiService.Migrations
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<int>", b =>
{
b.HasOne("HackathonPreparing.ApiService.AuthFeature.User", null)
b.HasOne("HackathonPreparing.ApiService.Features.AuthFeature.User", null)
.WithMany()
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
@@ -329,7 +329,7 @@ namespace HackathonPreparing.ApiService.Migrations
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("HackathonPreparing.ApiService.AuthFeature.User", null)
b.HasOne("HackathonPreparing.ApiService.Features.AuthFeature.User", null)
.WithMany()
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
@@ -338,7 +338,7 @@ namespace HackathonPreparing.ApiService.Migrations
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<int>", b =>
{
b.HasOne("HackathonPreparing.ApiService.AuthFeature.User", null)
b.HasOne("HackathonPreparing.ApiService.Features.AuthFeature.User", null)
.WithMany()
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)