Add player count fields with validation and labeled UX

This commit is contained in:
2026-01-29 01:53:24 +01:00
parent f713756ece
commit af84fc50d4
10 changed files with 415 additions and 32 deletions

View File

@@ -45,6 +45,8 @@ public class AppDbContext : DbContext
builder.Property(s => s.ScreenshotUrl).HasMaxLength(2048);
builder.Property(s => s.YoutubeUrl).HasMaxLength(2048);
builder.Property(s => s.GameUrl).HasMaxLength(2048);
builder.Property(s => s.MinPlayers);
builder.Property(s => s.MaxPlayers);
});
modelBuilder.Entity<Vote>(builder =>