missing commit

This commit is contained in:
Thomas Fransolet 2025-05-27 13:15:40 +02:00
parent 90f256ed13
commit 79d1bc3db5

View File

@ -87,13 +87,13 @@ namespace ManagerService.Migrations
b.Property<string>("SecondaryColor") b.Property<string>("SecondaryColor")
.HasColumnType("text"); .HasColumnType("text");
b.Property<List<TranslationDTO>>("Title") b.Property<string>("Title")
.IsRequired() .IsRequired()
.HasColumnType("jsonb"); .HasColumnType("jsonb");
b.HasKey("Id"); b.HasKey("Id");
b.ToTable("Configurations", (string)null); b.ToTable("Configurations");
}); });
modelBuilder.Entity("ManagerService.Data.Device", b => modelBuilder.Entity("ManagerService.Data.Device", b =>
@ -128,11 +128,9 @@ namespace ManagerService.Migrations
.HasColumnType("text"); .HasColumnType("text");
b.Property<string>("IpAddressETH") b.Property<string>("IpAddressETH")
.IsRequired()
.HasColumnType("text"); .HasColumnType("text");
b.Property<string>("IpAddressWLAN") b.Property<string>("IpAddressWLAN")
.IsRequired()
.HasColumnType("text"); .HasColumnType("text");
b.Property<DateTime>("LastBatteryLevel") b.Property<DateTime>("LastBatteryLevel")
@ -148,7 +146,7 @@ namespace ManagerService.Migrations
b.HasIndex("ConfigurationId"); b.HasIndex("ConfigurationId");
b.ToTable("Devices", (string)null); b.ToTable("Devices");
}); });
modelBuilder.Entity("ManagerService.Data.Instance", b => modelBuilder.Entity("ManagerService.Data.Instance", b =>
@ -168,7 +166,7 @@ namespace ManagerService.Migrations
b.HasKey("Id"); b.HasKey("Id");
b.ToTable("Instances", (string)null); b.ToTable("Instances");
}); });
modelBuilder.Entity("ManagerService.Data.Resource", b => modelBuilder.Entity("ManagerService.Data.Resource", b =>
@ -195,7 +193,7 @@ namespace ManagerService.Migrations
b.HasKey("Id"); b.HasKey("Id");
b.ToTable("Resources", (string)null); b.ToTable("Resources");
}); });
modelBuilder.Entity("ManagerService.Data.Section", b => modelBuilder.Entity("ManagerService.Data.Section", b =>
@ -213,7 +211,7 @@ namespace ManagerService.Migrations
b.Property<DateTime>("DateCreation") b.Property<DateTime>("DateCreation")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp with time zone");
b.Property<List<TranslationDTO>>("Description") b.Property<string>("Description")
.HasColumnType("jsonb"); .HasColumnType("jsonb");
b.Property<string>("Discriminator") b.Property<string>("Discriminator")
@ -259,7 +257,7 @@ namespace ManagerService.Migrations
b.Property<string>("SectionMenuId") b.Property<string>("SectionMenuId")
.HasColumnType("text"); .HasColumnType("text");
b.Property<List<TranslationDTO>>("Title") b.Property<string>("Title")
.IsRequired() .IsRequired()
.HasColumnType("jsonb"); .HasColumnType("jsonb");
@ -270,7 +268,7 @@ namespace ManagerService.Migrations
b.HasIndex("SectionMenuId"); b.HasIndex("SectionMenuId");
b.ToTable("Sections", (string)null); b.ToTable("Sections");
b.HasDiscriminator().HasValue("Base"); b.HasDiscriminator().HasValue("Base");
@ -288,7 +286,7 @@ namespace ManagerService.Migrations
b.Property<int?>("CategorieId") b.Property<int?>("CategorieId")
.HasColumnType("integer"); .HasColumnType("integer");
b.Property<List<Content>>("Contents") b.Property<List<ContentDTO>>("Contents")
.IsRequired() .IsRequired()
.HasColumnType("jsonb"); .HasColumnType("jsonb");
@ -339,7 +337,7 @@ namespace ManagerService.Migrations
b.HasIndex("SectionMapId"); b.HasIndex("SectionMapId");
b.ToTable("GeoPoints", (string)null); b.ToTable("GeoPoints");
}); });
modelBuilder.Entity("ManagerService.Data.SubSection.QuizQuestion", b => modelBuilder.Entity("ManagerService.Data.SubSection.QuizQuestion", b =>
@ -373,7 +371,7 @@ namespace ManagerService.Migrations
b.HasIndex("SectionQuizId"); b.HasIndex("SectionQuizId");
b.ToTable("QuizQuestions", (string)null); b.ToTable("QuizQuestions");
}); });
modelBuilder.Entity("ManagerService.Data.User", b => modelBuilder.Entity("ManagerService.Data.User", b =>
@ -409,7 +407,7 @@ namespace ManagerService.Migrations
b.HasKey("Id"); b.HasKey("Id");
b.ToTable("Users", (string)null); b.ToTable("Users");
}); });
modelBuilder.Entity("ManagerService.Data.SubSection.SectionAgenda", b => modelBuilder.Entity("ManagerService.Data.SubSection.SectionAgenda", b =>
@ -621,9 +619,11 @@ namespace ManagerService.Migrations
modelBuilder.Entity("ManagerService.Data.SubSection.GeoPoint", b => modelBuilder.Entity("ManagerService.Data.SubSection.GeoPoint", b =>
{ {
b.HasOne("ManagerService.Data.SubSection.SectionMap", null) b.HasOne("ManagerService.Data.SubSection.SectionMap", "SectionMap")
.WithMany("MapPoints") .WithMany("MapPoints")
.HasForeignKey("SectionMapId"); .HasForeignKey("SectionMapId");
b.Navigation("SectionMap");
}); });
modelBuilder.Entity("ManagerService.Data.SubSection.QuizQuestion", b => modelBuilder.Entity("ManagerService.Data.SubSection.QuizQuestion", b =>
@ -632,11 +632,13 @@ namespace ManagerService.Migrations
.WithMany() .WithMany()
.HasForeignKey("ResourceId"); .HasForeignKey("ResourceId");
b.HasOne("ManagerService.Data.SubSection.SectionQuiz", null) b.HasOne("ManagerService.Data.SubSection.SectionQuiz", "SectionQuiz")
.WithMany("QuizQuestions") .WithMany("QuizQuestions")
.HasForeignKey("SectionQuizId"); .HasForeignKey("SectionQuizId");
b.Navigation("Resource"); b.Navigation("Resource");
b.Navigation("SectionQuiz");
}); });
modelBuilder.Entity("ManagerService.Data.SubSection.SectionMap", b => modelBuilder.Entity("ManagerService.Data.SubSection.SectionMap", b =>