Migrate Show.Date from DateOnly to DateTime to support time of day

Removes DateOnly/DateTime conversion boilerplate from all Show endpoints
and adds the corresponding EF Core migration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 18:01:12 +02:00
parent b3612f5bec
commit 71b7a53e59
8 changed files with 1997 additions and 12 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ public class Show
[Required, MaxLength(100)] public string? Name { get; set; }
[Required, MaxLength(120)] public string? Place { get; set; }
[MaxLength(500)] public string? Description { get; set; }
public DateOnly? Date { get; set; }
public DateTime? Date { get; set; }
// Link (path/URL/file name) to the pyrotechnic implementation plan
[Required, MaxLength(500)] public string? PyrotechnicImplementationPlan { get; set; }