Added Server and Container State Attribute

This commit is contained in:
2026-01-21 12:32:10 +01:00
parent f820c641b4
commit 29860bd098
8 changed files with 270 additions and 19 deletions

View File

@@ -69,6 +69,10 @@ namespace watcher_monitoring.Migrations
.HasMaxLength(50)
.HasColumnType("TEXT");
b.Property<string>("State")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("Containers");
@@ -99,9 +103,6 @@ namespace watcher_monitoring.Migrations
.IsRequired()
.HasColumnType("TEXT");
b.Property<bool>("IsOnline")
.HasColumnType("INTEGER");
b.Property<bool>("IsVerified")
.HasColumnType("INTEGER");
@@ -115,6 +116,10 @@ namespace watcher_monitoring.Migrations
b.Property<double>("RamSize")
.HasColumnType("REAL");
b.Property<string>("State")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("Servers");