Server und Container Overview+Add Seite erstellt und an Datenbank angeschlossen

This commit is contained in:
2025-06-15 00:56:40 +02:00
parent 1597409365
commit b3902d971c
17 changed files with 636 additions and 3 deletions

View File

@@ -152,6 +152,10 @@ namespace Watcher.Migrations
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("IPAddress")
.IsRequired()
.HasColumnType("longtext");
b.Property<bool>("IsOnline")
.HasColumnType("tinyint(1)");
@@ -218,13 +222,15 @@ namespace Watcher.Migrations
modelBuilder.Entity("Watcher.Models.Container", b =>
{
b.HasOne("Watcher.Models.Image", null)
b.HasOne("Watcher.Models.Image", "Image")
.WithMany("Containers")
.HasForeignKey("ImageId");
b.HasOne("Watcher.Models.Tag", null)
.WithMany("Containers")
.HasForeignKey("TagId");
b.Navigation("Image");
});
modelBuilder.Entity("Watcher.Models.LogEvent", b =>