From 79d1bc3db562ba1ef55f15e7596eac62b34b2a9e Mon Sep 17 00:00:00 2001 From: Thomas Fransolet Date: Tue, 27 May 2025 13:15:40 +0200 Subject: [PATCH] missing commit --- .../MyInfoMateDbContextModelSnapshot.cs | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/ManagerService/Migrations/MyInfoMateDbContextModelSnapshot.cs b/ManagerService/Migrations/MyInfoMateDbContextModelSnapshot.cs index 0f50fdc..c546831 100644 --- a/ManagerService/Migrations/MyInfoMateDbContextModelSnapshot.cs +++ b/ManagerService/Migrations/MyInfoMateDbContextModelSnapshot.cs @@ -87,13 +87,13 @@ namespace ManagerService.Migrations b.Property("SecondaryColor") .HasColumnType("text"); - b.Property>("Title") + b.Property("Title") .IsRequired() .HasColumnType("jsonb"); b.HasKey("Id"); - b.ToTable("Configurations", (string)null); + b.ToTable("Configurations"); }); modelBuilder.Entity("ManagerService.Data.Device", b => @@ -128,11 +128,9 @@ namespace ManagerService.Migrations .HasColumnType("text"); b.Property("IpAddressETH") - .IsRequired() .HasColumnType("text"); b.Property("IpAddressWLAN") - .IsRequired() .HasColumnType("text"); b.Property("LastBatteryLevel") @@ -148,7 +146,7 @@ namespace ManagerService.Migrations b.HasIndex("ConfigurationId"); - b.ToTable("Devices", (string)null); + b.ToTable("Devices"); }); modelBuilder.Entity("ManagerService.Data.Instance", b => @@ -168,7 +166,7 @@ namespace ManagerService.Migrations b.HasKey("Id"); - b.ToTable("Instances", (string)null); + b.ToTable("Instances"); }); modelBuilder.Entity("ManagerService.Data.Resource", b => @@ -195,7 +193,7 @@ namespace ManagerService.Migrations b.HasKey("Id"); - b.ToTable("Resources", (string)null); + b.ToTable("Resources"); }); modelBuilder.Entity("ManagerService.Data.Section", b => @@ -213,7 +211,7 @@ namespace ManagerService.Migrations b.Property("DateCreation") .HasColumnType("timestamp with time zone"); - b.Property>("Description") + b.Property("Description") .HasColumnType("jsonb"); b.Property("Discriminator") @@ -259,7 +257,7 @@ namespace ManagerService.Migrations b.Property("SectionMenuId") .HasColumnType("text"); - b.Property>("Title") + b.Property("Title") .IsRequired() .HasColumnType("jsonb"); @@ -270,7 +268,7 @@ namespace ManagerService.Migrations b.HasIndex("SectionMenuId"); - b.ToTable("Sections", (string)null); + b.ToTable("Sections"); b.HasDiscriminator().HasValue("Base"); @@ -288,7 +286,7 @@ namespace ManagerService.Migrations b.Property("CategorieId") .HasColumnType("integer"); - b.Property>("Contents") + b.Property>("Contents") .IsRequired() .HasColumnType("jsonb"); @@ -339,7 +337,7 @@ namespace ManagerService.Migrations b.HasIndex("SectionMapId"); - b.ToTable("GeoPoints", (string)null); + b.ToTable("GeoPoints"); }); modelBuilder.Entity("ManagerService.Data.SubSection.QuizQuestion", b => @@ -373,7 +371,7 @@ namespace ManagerService.Migrations b.HasIndex("SectionQuizId"); - b.ToTable("QuizQuestions", (string)null); + b.ToTable("QuizQuestions"); }); modelBuilder.Entity("ManagerService.Data.User", b => @@ -409,7 +407,7 @@ namespace ManagerService.Migrations b.HasKey("Id"); - b.ToTable("Users", (string)null); + b.ToTable("Users"); }); modelBuilder.Entity("ManagerService.Data.SubSection.SectionAgenda", b => @@ -621,9 +619,11 @@ namespace ManagerService.Migrations modelBuilder.Entity("ManagerService.Data.SubSection.GeoPoint", b => { - b.HasOne("ManagerService.Data.SubSection.SectionMap", null) + b.HasOne("ManagerService.Data.SubSection.SectionMap", "SectionMap") .WithMany("MapPoints") .HasForeignKey("SectionMapId"); + + b.Navigation("SectionMap"); }); modelBuilder.Entity("ManagerService.Data.SubSection.QuizQuestion", b => @@ -632,11 +632,13 @@ namespace ManagerService.Migrations .WithMany() .HasForeignKey("ResourceId"); - b.HasOne("ManagerService.Data.SubSection.SectionQuiz", null) + b.HasOne("ManagerService.Data.SubSection.SectionQuiz", "SectionQuiz") .WithMany("QuizQuestions") .HasForeignKey("SectionQuizId"); b.Navigation("Resource"); + + b.Navigation("SectionQuiz"); }); modelBuilder.Entity("ManagerService.Data.SubSection.SectionMap", b =>