Update release notes and deploy workspace
CI - Build & Verify / Build, Typecheck & Hygiene (push) Successful in 59s
CI - Build & Verify / Deploy to award.noveria.net (push) Failing after 53s

This commit is contained in:
AzuTear
2026-06-29 17:49:54 +02:00
parent c466348d18
commit 441ef2b850
196 changed files with 9279 additions and 39292 deletions
+15 -3
View File
@@ -29,8 +29,9 @@ public sealed class AwardsDbContext(DbContextOptions<AwardsDbContext> options) :
{
entity.HasIndex(item => item.Year).IsUnique();
entity.Property(item => item.Name).HasMaxLength(160);
entity.Property(item => item.ShowStreamUrl).HasMaxLength(400);
entity.Property(item => item.IsDemo).HasDefaultValue(false);
entity.Property(item => item.CurrentPhase).HasMaxLength(60);
entity.Property(item => item.WinnersPublishedByTwitchId).HasMaxLength(120);
entity.Property(item => item.SubcategoryTemplatesJson).HasDefaultValue("[]");
entity.Property(item => item.WorkflowRulesJson).HasDefaultValue("[]");
});
@@ -47,6 +48,15 @@ public sealed class AwardsDbContext(DbContextOptions<AwardsDbContext> options) :
entity.Property(item => item.SponsorsUrl).HasMaxLength(400);
entity.Property(item => item.ShowactsUrl).HasMaxLength(400);
entity.Property(item => item.ShowactsContent).HasDefaultValue(string.Empty);
entity.Property(item => item.StreamBannerEyebrow).HasMaxLength(120);
entity.Property(item => item.StreamBannerTitle).HasMaxLength(160);
entity.Property(item => item.StreamBannerLiveButtonLabel).HasMaxLength(120);
entity.Property(item => item.StreamBannerLiveButtonUrl).HasMaxLength(400);
entity.Property(item => item.StreamBannerLockedButtonLabel).HasMaxLength(120);
entity.Property(item => item.StreamBannerCompletedEyebrow).HasMaxLength(120);
entity.Property(item => item.StreamBannerCompletedTitle).HasMaxLength(160);
entity.Property(item => item.StreamBannerCompletedButtonLabel).HasMaxLength(120);
entity.Property(item => item.StreamBannerCompletedButtonUrl).HasMaxLength(400);
entity.Property(item => item.DemoLoginEmail).HasMaxLength(180);
entity.Property(item => item.DemoLoginPasswordHash).HasMaxLength(120);
entity.Property(item => item.DemoLoginPasswordSalt).HasMaxLength(80);
@@ -225,6 +235,10 @@ public sealed class AwardsDbContext(DbContextOptions<AwardsDbContext> options) :
entity.Property(item => item.CreatedFromIp).HasMaxLength(80);
entity.HasIndex(item => new { item.SeasonId, item.Status });
entity.HasIndex(item => item.CandidateId);
entity.HasOne<Season>()
.WithMany()
.HasForeignKey(item => item.SeasonId)
.OnDelete(DeleteBehavior.Cascade);
entity.HasOne(item => item.Candidate)
.WithMany()
.HasForeignKey(item => item.CandidateId)
@@ -258,7 +272,5 @@ public sealed class AwardsDbContext(DbContextOptions<AwardsDbContext> options) :
entity.Property(item => item.Tier).HasMaxLength(80);
entity.HasIndex(item => new { item.SeasonId, item.IsVisible, item.SortOrder });
});
SeedData.Apply(modelBuilder);
}
}