Divar geo-coords to facility map + medical gate + RawListing FK/geo migrations
CI/CD / CI · dotnet build (push) Successful in 2m6s
CI/CD / Deploy · hamkadr (push) Successful in 2m3s

This commit is contained in:
soroush.asadi
2026-06-09 21:38:55 +03:30
parent cf5e0011c4
commit 380243b669
14 changed files with 3567 additions and 36 deletions
@@ -748,12 +748,18 @@ namespace JobsMedical.Web.Migrations
b.Property<DateTime>("FetchedAt")
.HasColumnType("timestamp with time zone");
b.Property<double?>("Lat")
.HasColumnType("double precision");
b.Property<int?>("LinkedShiftId")
.HasColumnType("integer");
b.Property<int?>("LinkedTalentId")
.HasColumnType("integer");
b.Property<double?>("Lng")
.HasColumnType("double precision");
b.Property<string>("ParsedJson")
.HasColumnType("text");
@@ -783,6 +789,8 @@ namespace JobsMedical.Web.Migrations
b.HasIndex("LinkedShiftId");
b.HasIndex("LinkedTalentId");
b.HasIndex("Status");
b.ToTable("RawListings");
@@ -1415,9 +1423,17 @@ namespace JobsMedical.Web.Migrations
{
b.HasOne("JobsMedical.Web.Models.Shift", "LinkedShift")
.WithMany()
.HasForeignKey("LinkedShiftId");
.HasForeignKey("LinkedShiftId")
.OnDelete(DeleteBehavior.SetNull);
b.HasOne("JobsMedical.Web.Models.TalentListing", "LinkedTalent")
.WithMany()
.HasForeignKey("LinkedTalentId")
.OnDelete(DeleteBehavior.SetNull);
b.Navigation("LinkedShift");
b.Navigation("LinkedTalent");
});
modelBuilder.Entity("JobsMedical.Web.Models.Review", b =>